Merge pull request #517 from Artemis-RGB/feature/color-calibration

Added Per device color calibration
This commit is contained in:
Robert Beekman authored and GitHub committed 2020-12-12 21:11:41 +01:00
commit 36058efc4d
8 files changed
+343 -46

No files matched your search

@@ -38,9 +38,10 @@ namespace Artemis.UI.Shared
if (DisplayGeometry == null)
return;
byte r = Led.RgbLed.Color.GetR();
byte g = Led.RgbLed.Color.GetG();
byte b = Led.RgbLed.Color.GetB();
RGB.NET.Core.Color originalColor = Led.GetOriginalColor();
byte r = originalColor.GetR();
byte g = originalColor.GetG();
byte b = originalColor.GetB();
drawingContext.DrawRectangle(isDimmed
? new SolidColorBrush(Color.FromArgb(100, r, g, b))