mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
RGB.NET - Updated for latest development branch
This commit is contained in:
1 parent
606c1b80f2
commit
7792b662e0
8 files changed
+23
-12
No files matched your search
@@ -300,7 +300,7 @@ namespace Artemis.Core
|
||||
|
||||
internal void CalculateRenderProperties()
|
||||
{
|
||||
Rectangle = RgbDevice.DeviceRectangle.ToSKRect();
|
||||
Rectangle = RgbDevice.Boundary.ToSKRect();
|
||||
if (!Leds.Any())
|
||||
return;
|
||||
|
||||
|
||||
@@ -46,10 +46,12 @@ namespace Artemis.Core
|
||||
private set => SetAndNotify(ref _absoluteRectangle, value);
|
||||
}
|
||||
|
||||
public ArtemisLedLayout? Layout { get; set; }
|
||||
|
||||
internal void CalculateRectangles()
|
||||
{
|
||||
Rectangle = RgbLed.LedRectangle.ToSKRect();
|
||||
AbsoluteRectangle = RgbLed.AbsoluteLedRectangle.ToSKRect();
|
||||
Rectangle = RgbLed.Boundary.ToSKRect();
|
||||
AbsoluteRectangle = RgbLed.AbsoluteBoundary.ToSKRect();
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Artemis.Core
|
||||
{
|
||||
public class ArtemisLedLayout
|
||||
{
|
||||
public ArtemisLed Led { get; set; }
|
||||
public Uri Image { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user