mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-11 11:26:27 +00:00
Core - Layer refactor WIP
This commit is contained in:
1 parent
be897b99f7
commit
d37420e462
33 files changed
+941
-895
No files matched your search
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using Artemis.Core.Services;
|
||||
|
||||
namespace Artemis.Core.LayerBrushes
|
||||
{
|
||||
@@ -33,11 +32,11 @@ namespace Artemis.Core.LayerBrushes
|
||||
internal set => _properties = value;
|
||||
}
|
||||
|
||||
internal void InitializeProperties(IRenderElementService renderElementService)
|
||||
internal void InitializeProperties()
|
||||
{
|
||||
Properties = Activator.CreateInstance<T>();
|
||||
Properties.LayerBrush = this;
|
||||
Properties.InitializeProperties(renderElementService, Layer, "LayerBrush.");
|
||||
Properties.Initialize(Layer, "LayerBrush.", PluginInfo);
|
||||
PropertiesInitialized = true;
|
||||
|
||||
EnableLayerBrush();
|
||||
|
||||
@@ -30,11 +30,11 @@ namespace Artemis.Core.LayerEffects
|
||||
internal set => _properties = value;
|
||||
}
|
||||
|
||||
internal void InitializeProperties(IRenderElementService renderElementService)
|
||||
internal void InitializeProperties()
|
||||
{
|
||||
Properties = Activator.CreateInstance<T>();
|
||||
Properties.LayerEffect = this;
|
||||
Properties.InitializeProperties(renderElementService, ProfileElement, PropertyRootPath);
|
||||
Properties.Initialize(ProfileElement, PropertyRootPath, PluginInfo);
|
||||
PropertiesInitialized = true;
|
||||
|
||||
EnableLayerEffect();
|
||||
|
||||
Reference in new issue
Block a user