mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
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
23 lines
495 B
C#
23 lines
495 B
C#
using Artemis.Core.Models.Profile.Conditions.Abstract;
|
|
|
|
namespace Artemis.Core.Models.Profile.Conditions
|
|
{
|
|
public class DisplayConditionGroup : DisplayConditionPart
|
|
{
|
|
public BooleanOperator BooleanOperator { get; set; }
|
|
|
|
public override void ApplyToEntity()
|
|
{
|
|
foreach (var child in Children)
|
|
child.ApplyToEntity();
|
|
}
|
|
}
|
|
|
|
public enum BooleanOperator
|
|
{
|
|
And,
|
|
Or,
|
|
AndNot,
|
|
OrNot
|
|
}
|
|
} |