mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 20:06:33 +00:00
Profile elements - Simplified class hierarchy
Profile editor - Seperated event types and avoid a lot of type checking Profile editor - Avoid changing profiles/layers if the new equals the old Color picker - Fixed binding error Profile tree - Select first element by default Profile editor - Adjusted initialization order
This commit is contained in:
1 parent
70aaa645fb
commit
7b27d076b3
25 files changed
+303
-195
No files matched your search
@@ -0,0 +1,22 @@
|
||||
using System;
|
||||
using Artemis.Core.Models.Profile;
|
||||
|
||||
namespace Artemis.UI.Shared.Events
|
||||
{
|
||||
public class ProfileEventArgs : EventArgs
|
||||
{
|
||||
public ProfileEventArgs(Profile profile)
|
||||
{
|
||||
Profile = profile;
|
||||
}
|
||||
|
||||
public ProfileEventArgs(Profile profile, Profile previousProfile)
|
||||
{
|
||||
Profile = profile;
|
||||
PreviousProfile = previousProfile;
|
||||
}
|
||||
|
||||
public Profile Profile { get; }
|
||||
public Profile PreviousProfile { get; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user