From 38774ba7930f9d6fa2111c8b71f1056125ab75b5 Mon Sep 17 00:00:00 2001 From: Michael Date: Wed, 5 Jul 2017 22:24:17 -0400 Subject: all the work I've done for the day --- ShiftOS.Frontend/Desktop/Desktop.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'ShiftOS.Frontend/Desktop') diff --git a/ShiftOS.Frontend/Desktop/Desktop.cs b/ShiftOS.Frontend/Desktop/Desktop.cs index bec7016..af79c9c 100644 --- a/ShiftOS.Frontend/Desktop/Desktop.cs +++ b/ShiftOS.Frontend/Desktop/Desktop.cs @@ -141,7 +141,7 @@ namespace ShiftOS.Frontend.Desktop else { //draw with a color - var color = LoadedSkin.DesktopPanelColor.ToMonoColor(); + var color = UIManager.SkinTextures["DesktopPanelColor"]; gfx.DrawRectangle(0, dp_position, dp_width, dp_height, color); } @@ -173,7 +173,7 @@ namespace ShiftOS.Frontend.Desktop else { //draw using the bg color - var pcBGColor = LoadedSkin.DesktopPanelClockBackgroundColor.ToMonoColor(); + var pcBGColor = UIManager.SkinTextures["DesktopPanelClockBackgroundColor"]; gfx.DrawRectangle(panelclockleft, dp_position, panelclockwidth, dp_height, pcBGColor); } @@ -201,7 +201,7 @@ namespace ShiftOS.Frontend.Desktop } else { - gfx.DrawRectangle(offset, dp_position + pbtnfromtop, pbtnwidth, pbtnheight, LoadedSkin.PanelButtonColor.ToMonoColor()); + gfx.DrawRectangle(offset, dp_position + pbtnfromtop, pbtnwidth, pbtnheight, UIManager.SkinTextures["PanelButtonBackgroundColor"]); } //now we draw the text -- cgit v1.2.3