Illumilib/Illumilib/System/LightingSystem.cs

31 lines
896 B
C#
Raw Normal View History

2021-05-01 20:49:58 +02:00
using System;
namespace Illumilib.System {
internal abstract class LightingSystem : IDisposable {
public abstract LightingType Type { get; }
~LightingSystem() {
this.Dispose();
}
2021-05-01 20:49:58 +02:00
public abstract bool Initialize();
2021-05-01 20:49:58 +02:00
public abstract void SetAllLighting(float r, float g, float b);
public abstract void SetKeyboardLighting(float r, float g, float b);
public abstract void SetKeyboardLighting(int x, int y, float r, float g, float b);
public abstract void SetKeyboardLighting(int x, int y, int width, int height, float r, float g, float b);
2021-05-01 20:49:58 +02:00
public abstract void SetKeyboardLighting(KeyboardKeys key, float r, float g, float b);
public abstract void SetMouseLighting(float r, float g, float b);
2021-05-01 20:49:58 +02:00
public virtual void Dispose() {
GC.SuppressFinalize(this);
}
2021-05-01 20:49:58 +02:00
}
}