diff options
| author | AShifter <[email protected]> | 2017-10-14 09:27:27 -0600 |
|---|---|---|
| committer | AShifter <[email protected]> | 2017-10-14 09:27:27 -0600 |
| commit | e9a8a6df70337a061384b46816f7e4b552145946 (patch) | |
| tree | ecffc875d8b6aa48d7083c00c992e90cb426761b /ShiftOS.Engine/WindowManager/ShiftSkinData.cs | |
| parent | 385d800066822cdf7467a90f6168026b6603573e (diff) | |
| download | shiftos-rewind-e9a8a6df70337a061384b46816f7e4b552145946.tar.gz shiftos-rewind-e9a8a6df70337a061384b46816f7e4b552145946.tar.bz2 shiftos-rewind-e9a8a6df70337a061384b46816f7e4b552145946.zip | |
More Skinning
You can now set a skin and it will persist throughout all windows -
though there is a bug where hovering over a context button will change
it's color and leaving it will change it back to black. Will fix
soon:tm:.
Diffstat (limited to 'ShiftOS.Engine/WindowManager/ShiftSkinData.cs')
| -rw-r--r-- | ShiftOS.Engine/WindowManager/ShiftSkinData.cs | 38 |
1 files changed, 12 insertions, 26 deletions
diff --git a/ShiftOS.Engine/WindowManager/ShiftSkinData.cs b/ShiftOS.Engine/WindowManager/ShiftSkinData.cs index 653e814..2c03123 100644 --- a/ShiftOS.Engine/WindowManager/ShiftSkinData.cs +++ b/ShiftOS.Engine/WindowManager/ShiftSkinData.cs @@ -2,33 +2,19 @@ namespace ShiftOS.Engine.WindowManager { - public class ShiftSkinData + public abstract class ShiftSkinData { // ColorData - public Color leftTopCornerColor { get; set; } - public Color titleBarColor { get; set; } - public Color rightTopCornerColor { get; set; } - public Color btnCloseColor { get; set; } - public Color btnMaxColor { get; set; } - public Color btnMinColor { get; set; } - public Color leftSideColor { get; set; } - public Color rightSideColor { get; set; } - public Color leftBottomCornerColor { get; set; } - public Color bottomSideColor { get; set; } - public Color rightBottomCornerColor { get; set; } - public Color borderColorColor { get; set; } - - // SetBorderColor - public void setBorderColor(Color borderColor) - { - leftTopCornerColor = borderColor; - titleBarColor = borderColor; - rightTopCornerColor = borderColor; - leftSideColor = borderColor; - rightSideColor = borderColor; - leftBottomCornerColor = borderColor; - bottomSideColor = borderColor; - rightBottomCornerColor = borderColor; - } + public static Color leftTopCornerColor = Color.Empty; + public static Color titleBarColor = Color.Empty; + public static Color rightTopCornerColor = Color.Empty; + public static Color btnCloseColor = Color.Empty; + public static Color btnMaxColor = Color.Empty; + public static Color btnMinColor = Color.Empty; + public static Color leftSideColor = Color.Empty; + public static Color rightSideColor = Color.Empty; + public static Color leftBottomCornerColor = Color.Empty; + public static Color bottomSideColor = Color.Empty; + public static Color rightBottomCornerColor = Color.Empty; } } |
