mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
38 lines
797 B
C#
38 lines
797 B
C#
using System;
|
|
using System.Drawing;
|
|
using Artemis.Core.Plugins.Interfaces;
|
|
using Artemis.Core.ProfileElements;
|
|
using QRCoder;
|
|
using RGB.NET.Core;
|
|
|
|
namespace Artemis.Plugins.LayerTypes.Brush
|
|
{
|
|
public class BrushLayerType : ILayerType
|
|
{
|
|
public void Dispose()
|
|
{
|
|
}
|
|
|
|
public void EnablePlugin()
|
|
{
|
|
var qrGenerator = new QRCodeGenerator();
|
|
}
|
|
|
|
public void DisablePlugin()
|
|
{
|
|
}
|
|
|
|
public void Update(Layer layer)
|
|
{
|
|
var config = layer.LayerTypeConfiguration as BrushConfiguration;
|
|
if (config == null)
|
|
return;
|
|
|
|
// Update the brush
|
|
}
|
|
|
|
public void Render(Layer device, RGBSurface surface, Graphics graphics)
|
|
{
|
|
}
|
|
}
|
|
} |