1
0
mirror of https://github.com/Artemis-RGB/Artemis synced 2025-12-13 05:48:35 +00:00
Robert f32edcf502 Implemented layer LED assignment
Added a centralised ProfileEditorSurface for communication between VMs
Prefixed Surface, Device and Led with Artemis to differentiate them better
2019-11-29 17:37:22 +01:00

42 lines
971 B
C#

using System.Drawing;
using Artemis.Core.Models.Profile;
using Artemis.Core.Models.Surface;
using Artemis.Core.Plugins.Abstract;
using Artemis.Core.Plugins.Models;
using QRCoder;
namespace Artemis.Plugins.LayerTypes.Brush
{
public class BrushLayerType : LayerType
{
public BrushLayerType(PluginInfo pluginInfo) : base(pluginInfo)
{
}
public override void EnablePlugin()
{
var qrGenerator = new QRCodeGenerator();
}
public override void DisablePlugin()
{
}
public override void Update(Layer layer)
{
var config = layer.LayerTypeConfiguration as BrushConfiguration;
if (config == null)
return;
// Update the brush
}
public override void Render(Layer device, ArtemisSurface surface, Graphics graphics)
{
}
public override void Dispose()
{
}
}
}