mirror of
https://github.com/Artemis-RGB/Artemis
synced 2026-11-12 03:48:56 +00:00
Merge pull request #517 from Artemis-RGB/feature/color-calibration
Added Per device color calibration
This commit is contained in:
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))
|
||||
|
||||
Reference in new issue
Block a user