Added ZIndex to groups and effects

This commit is contained in:
DarthAffe committed 2015-10-14 19:51:55 +02:00
1 parent 8233774076
commit 9c57e3257f
6 files changed
+28 -16

No files matched your search

+3 -1
View File
@@ -11,9 +11,11 @@ namespace CUE.NET.Devices.Keyboard.Effects
{
#region Properties & Fields
public IEnumerable<CorsairKey> KeyList { get; protected set; }
public abstract IBrush EffectBrush { get; }
public IEnumerable<CorsairKey> KeyList { get; protected set; }
public int ZIndex { get; set; } = 0;
public bool IsDone { get; protected set; }
@@ -11,6 +11,8 @@ namespace CUE.NET.Devices.Keyboard.Effects
internal long TicksAtLastUpdate { get; set; }
internal int ZIndex => Effect?.ZIndex ?? 0;
#endregion
#region Constructors
+3 -1
View File
@@ -8,9 +8,11 @@ namespace CUE.NET.Devices.Keyboard.Effects
{
#region Properties & Fields
IEnumerable<CorsairKey> KeyList { get; }
IBrush EffectBrush { get; }
IEnumerable<CorsairKey> KeyList { get; }
int ZIndex { get; set; }
bool IsDone { get; }