SHARE
TWEET

Console Theme Class

a guest Feb 21st, 2020 91 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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()
  9.         {
  10.             BlueTheme.Colors.ControlHostBack = Color.CornflowerBlue;
  11.             BlueTheme.Colors.ControlHostFore = Color.DarkBlue;
  12.  
  13.             //These two definitely do something
  14.             //SadConsole.Themes.Library.Default.Colors. MenuBack = Theme.Color_ControlBack;
  15.             BlueTheme.Colors.Text = Color.CornflowerBlue;
  16.  
  17.  
  18.  
  19.             BlueTheme.ButtonTheme.ShowEnds = false;
  20.             BlueTheme.SelectionButtonTheme.ShowEnds = false;
  21.             BlueTheme.Colors.Appearance_ControlOver.Background = Color.LightSteelBlue;
  22.             BlueTheme.Colors.Appearance_ControlOver.Foreground = Color.DarkBlue;
  23.  
  24.             BlueTheme.Colors.Appearance_ControlSelected.Background = Color.DarkBlue;
  25.             BlueTheme.Colors.Appearance_ControlSelected.Foreground = Color.CornflowerBlue;
  26.  
  27.             BlueTheme.Colors.Appearance_ControlNormal.Background = Color.DarkBlue;
  28.             BlueTheme.Colors.Appearance_ControlNormal.Foreground = Color.CornflowerBlue;
  29.  
  30.             BlueTheme.Colors.Appearance_ControlFocused.Background = Color.DarkBlue;
  31.             BlueTheme.Colors.Appearance_ControlFocused.Foreground = Color.CornflowerBlue;
  32.  
  33.             //On Click
  34.             BlueTheme.Colors.Appearance_ControlMouseDown.Background = Color.AliceBlue;
  35.             BlueTheme.Colors.Appearance_ControlMouseDown.Foreground = Color.DarkBlue;        
  36.  
  37.         }
  38.  
  39.  
  40. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top