Core - Reworked brush/effect property storage

Profile editor - Added brush selection
Profile editor - Added playback controls
This commit is contained in:
Robert committed 2022-01-16 00:46:19 +01:00
1 parent 022beb6a48
commit 1832a25426
64 files changed
+1168 -481

No files matched your search

@@ -0,0 +1,11 @@
using System.Collections.Generic;
namespace Artemis.Storage.Entities.Profile;
public class LayerBrushEntity
{
public string ProviderId { get; set; }
public string BrushType { get; set; }
public PropertyGroupEntity PropertyGroup { get; set; }
}
@@ -1,4 +1,5 @@
using System;
using System.Collections.Generic;
namespace Artemis.Storage.Entities.Profile
{
@@ -11,5 +12,7 @@ namespace Artemis.Storage.Entities.Profile
public bool Suspended { get; set; }
public bool HasBeenRenamed { get; set; }
public int Order { get; set; }
public PropertyGroupEntity PropertyGroup { get; set; }
}
}
@@ -24,9 +24,12 @@ namespace Artemis.Storage.Entities.Profile
public List<LedEntity> Leds { get; set; }
public List<IAdaptionHintEntity> AdaptionHints { get; set; }
public PropertyGroupEntity GeneralPropertyGroup { get; set; }
public PropertyGroupEntity TransformPropertyGroup { get; set; }
public LayerBrushEntity LayerBrush { get; set; }
[BsonRef("ProfileEntity")]
public ProfileEntity Profile { get; set; }
public Guid ProfileId { get; set; }
}
}
@@ -1,22 +1,14 @@
using System.Collections.Generic;
using Artemis.Storage.Entities.Profile.DataBindings;
namespace Artemis.Storage.Entities.Profile
namespace Artemis.Storage.Entities.Profile;
public class PropertyEntity
{
public class PropertyEntity
{
public PropertyEntity()
{
KeyframeEntities = new List<KeyframeEntity>();
}
public string Identifier { get; set; }
public string Value { get; set; }
public bool KeyframesEnabled { get; set; }
public string FeatureId { get; set; }
public string Path { get; set; }
public DataBindingEntity DataBinding { get; set; }
public string Value { get; set; }
public bool KeyframesEnabled { get; set; }
public List<KeyframeEntity> KeyframeEntities { get; set; }
}
public DataBindingEntity DataBinding { get; set; }
public List<KeyframeEntity> KeyframeEntities { get; set; } = new();
}
@@ -0,0 +1,10 @@
using System.Collections.Generic;
namespace Artemis.Storage.Entities.Profile;
public class PropertyGroupEntity
{
public string Identifier { get; set; }
public List<PropertyEntity> Properties { get; set; } = new();
public List<PropertyGroupEntity> PropertyGroups { get; set; } = new();
}