mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Core - Removed Fody
UI projects will follow Not interested in becoming a Patreon with their attitude and fixes edit & continue in the core
This commit is contained in:
1 parent
ff8544bb23
commit
51ffc6543e
14 files changed
+234
-145
No files matched your search
@@ -7,6 +7,9 @@ namespace Artemis.Core.Models.Surface
|
||||
{
|
||||
public class ArtemisLed : PropertyChangedBase
|
||||
{
|
||||
private SKRect _renderRectangle;
|
||||
private SKRect _absoluteRenderRectangle;
|
||||
|
||||
public ArtemisLed(Led led, ArtemisDevice device)
|
||||
{
|
||||
RgbLed = led;
|
||||
@@ -18,9 +21,18 @@ namespace Artemis.Core.Models.Surface
|
||||
public Led RgbLed { get; }
|
||||
public ArtemisDevice Device { get; }
|
||||
|
||||
public SKRect RenderRectangle { get; private set; }
|
||||
public SKRect AbsoluteRenderRectangle { get; private set; }
|
||||
|
||||
public SKRect RenderRectangle
|
||||
{
|
||||
get => _renderRectangle;
|
||||
private set => SetAndNotify(ref _renderRectangle, value);
|
||||
}
|
||||
|
||||
public SKRect AbsoluteRenderRectangle
|
||||
{
|
||||
get => _absoluteRenderRectangle;
|
||||
private set => SetAndNotify(ref _absoluteRenderRectangle, value);
|
||||
}
|
||||
|
||||
public void CalculateRenderRectangle()
|
||||
{
|
||||
RenderRectangle = SKRect.Create(
|
||||
|
||||
Reference in new issue
Block a user