mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 11:56:30 +00:00
Started implementing logic behind the timeline UI
This commit is contained in:
1 parent
a6c8d339c0
commit
14065bffef
31 files changed
+501
-408
No files matched your search
@@ -0,0 +1,13 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Core.Models.Profile
|
||||
{
|
||||
public class Keyframe
|
||||
{
|
||||
public Layer Layer { get; set; }
|
||||
public LayerProperty Property { get; set; }
|
||||
|
||||
public TimeSpan Position { get; set; }
|
||||
public object Value { get; set; }
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Artemis.Core.Models.Profile
|
||||
{
|
||||
public class LayerProperty
|
||||
{
|
||||
internal LayerProperty(Layer layer, LayerProperty parent)
|
||||
{
|
||||
Layer = layer;
|
||||
Parent = parent;
|
||||
|
||||
Children = new List<LayerProperty>();
|
||||
}
|
||||
|
||||
public Layer Layer { get; }
|
||||
public LayerProperty Parent { get; }
|
||||
public List<LayerProperty> Children { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
public string Description { get; set; }
|
||||
public Type Type { get; set; }
|
||||
public object BaseValue { get; set; }
|
||||
public List<Keyframe> Keyframes { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user