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:
SpoinkyNL committed 2020-06-20 22:35:09 +02:00
1 parent ff8544bb23
commit 51ffc6543e
14 files changed
+234 -145

No files matched your search

+15 -3
View File
@@ -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(