aboutsummaryrefslogtreecommitdiff
path: root/ShiftOS.Frontend/Desktop/Desktop.cs
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-07-05 22:24:17 -0400
committerMichael <[email protected]>2017-07-05 22:24:17 -0400
commit38774ba7930f9d6fa2111c8b71f1056125ab75b5 (patch)
tree68ded6b8c8b848b517dff872bb04d9311fbb3e98 /ShiftOS.Frontend/Desktop/Desktop.cs
parentde9bc8567b268e9659d174f65ce7dc23dff6fafe (diff)
downloadshiftos_thereturn-38774ba7930f9d6fa2111c8b71f1056125ab75b5.tar.gz
shiftos_thereturn-38774ba7930f9d6fa2111c8b71f1056125ab75b5.tar.bz2
shiftos_thereturn-38774ba7930f9d6fa2111c8b71f1056125ab75b5.zip
all the work I've done for the day
Diffstat (limited to 'ShiftOS.Frontend/Desktop/Desktop.cs')
-rw-r--r--ShiftOS.Frontend/Desktop/Desktop.cs6
1 files changed, 3 insertions, 3 deletions
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