SHOW:
|
|
- or go back to the newest paste.
1 | static class ConsoleThemes | |
2 | { | |
3 | ||
4 | public static SadConsole.Themes.Library BlueTheme = new SadConsole.Themes.Library(); | |
5 | ||
6 | ||
7 | ||
8 | - | private static void SetupBlueTheme() |
8 | + | private static void SetupTheme() //This is called from another class during the program's startup |
9 | { | |
10 | BlueTheme.Colors.ControlHostBack = Color.CornflowerBlue; | |
11 | BlueTheme.Colors.ControlHostFore = Color.DarkBlue; | |
12 | ||
13 | - | //These two definitely do something |
13 | + | |
14 | - | //SadConsole.Themes.Library.Default.Colors. MenuBack = Theme.Color_ControlBack; |
14 | + | |
15 | ||
16 | ||
17 | BlueTheme.ButtonTheme.ShowEnds = false; | |
18 | BlueTheme.SelectionButtonTheme.ShowEnds = false; | |
19 | BlueTheme.Colors.Appearance_ControlOver.Background = Color.LightSteelBlue; | |
20 | BlueTheme.Colors.Appearance_ControlOver.Foreground = Color.DarkBlue; | |
21 | ||
22 | BlueTheme.Colors.Appearance_ControlSelected.Background = Color.DarkBlue; | |
23 | BlueTheme.Colors.Appearance_ControlSelected.Foreground = Color.CornflowerBlue; | |
24 | ||
25 | BlueTheme.Colors.Appearance_ControlNormal.Background = Color.DarkBlue; | |
26 | BlueTheme.Colors.Appearance_ControlNormal.Foreground = Color.CornflowerBlue; | |
27 | ||
28 | BlueTheme.Colors.Appearance_ControlFocused.Background = Color.DarkBlue; | |
29 | BlueTheme.Colors.Appearance_ControlFocused.Foreground = Color.CornflowerBlue; | |
30 | ||
31 | //On Click | |
32 | BlueTheme.Colors.Appearance_ControlMouseDown.Background = Color.AliceBlue; | |
33 | BlueTheme.Colors.Appearance_ControlMouseDown.Foreground = Color.DarkBlue; | |
34 | ||
35 | } | |
36 | ||
37 | ||
38 | } |