Implemented layer LED assignment

Added a centralised ProfileEditorSurface for communication between VMs
Prefixed Surface, Device and Led with Artemis to differentiate them better
This commit is contained in:
Robert committed 2019-11-29 17:37:22 +01:00
1 parent 8a596f1426
commit f32edcf502
50 files changed
+556 -662

No files matched your search

@@ -24,6 +24,6 @@ namespace Artemis.Core.Plugins.Abstract
/// <summary>
/// Renders the layer type
/// </summary>
public abstract void Render(Layer device, Surface surface, Graphics graphics);
public abstract void Render(Layer device, ArtemisSurface surface, Graphics graphics);
}
}
+1 -1
View File
@@ -38,7 +38,7 @@ namespace Artemis.Core.Plugins.Abstract
/// <param name="deltaTime">Time since the last render</param>
/// <param name="surface">The RGB Surface to render to</param>
/// <param name="graphics"></param>
public abstract void Render(double deltaTime, Surface surface, Graphics graphics);
public abstract void Render(double deltaTime, ArtemisSurface surface, Graphics graphics);
/// <summary>
/// Called when the module's view model is being show, return view models here to create tabs for them
@@ -25,7 +25,7 @@ namespace Artemis.Core.Plugins.Abstract
}
/// <inheritdoc />
public override void Render(double deltaTime, Surface surface, Graphics graphics)
public override void Render(double deltaTime, ArtemisSurface surface, Graphics graphics)
{
lock (this)
{