public RadioButtonTheme() { CheckedIcon = new ThemeStates(); UncheckedIcon = new ThemeStates(); LeftBracket = new ThemeStates(); RightBracket = new ThemeStates(); CheckedIcon.SetGlyph(251); CheckedIcon.SetGlyph(15); UncheckedIcon.SetGlyph(0); LeftBracket.SetGlyph('('); RightBracket.SetGlyph(')'); }
public CheckBoxTheme() { CheckedIcon = new ThemeStates(); UncheckedIcon = new ThemeStates(); LeftBracket = new ThemeStates(); RightBracket = new ThemeStates(); CheckedIcon.SetGlyph(251); UncheckedIcon.SetGlyph(0); LeftBracket.SetGlyph('['); RightBracket.SetGlyph(']'); }
public ProgressBarTheme() { Background = new ThemeStates(); Background.SetForeground(Normal.Foreground); Background.SetBackground(Normal.Background); Background.SetGlyph(176); Background.Disabled = new Cell(Color.Gray, Color.Black, 176); Foreground = new ThemeStates(); Foreground.SetForeground(Normal.Foreground); Foreground.SetBackground(Normal.Background); Foreground.SetGlyph(219); Foreground.Disabled = new Cell(Color.Gray, Color.Black, 219); }
public override void RefreshTheme(Colors themeColors) { base.RefreshTheme(themeColors); CheckedIcon = new ThemeStates(themeColors); UncheckedIcon = new ThemeStates(themeColors); LeftBracket = new ThemeStates(themeColors); RightBracket = new ThemeStates(themeColors); CheckedIcon.SetGlyph(251); UncheckedIcon.SetGlyph(0); LeftBracket.SetGlyph('['); RightBracket.SetGlyph(']'); }
/// <inheritdoc /> public override void RefreshTheme(Colors themeColors) { base.RefreshTheme(themeColors); Background = new ThemeStates(themeColors); Background.SetForeground(Normal.Foreground); Background.SetBackground(Normal.Background); Background.SetGlyph(176); Background.Disabled = new Cell(Color.Gray, Color.Black, 176); Foreground = new ThemeStates(themeColors); Foreground.SetForeground(Normal.Foreground); Foreground.SetBackground(Normal.Background); Foreground.SetGlyph(219); Foreground.Disabled = new Cell(Color.Gray, Color.Black, 219); }
/// <inheritdoc /> public override void RefreshTheme(Colors themeColors) { base.RefreshTheme(themeColors); CheckedIcon = new ThemeStates(themeColors); UncheckedIcon = new ThemeStates(themeColors); LeftBracket = new ThemeStates(themeColors); RightBracket = new ThemeStates(themeColors); //TODO Hardcoded radio button glyphs //CheckedIcon.SetGlyph(251); CheckedIcon.SetGlyph(15); UncheckedIcon.SetGlyph(0); LeftBracket.SetGlyph('('); RightBracket.SetGlyph(')'); }
public override void RefreshTheme(Colors themeColors, ControlBase control) { if (themeColors == null) { themeColors = Library.Default.Colors; } base.RefreshTheme(themeColors, control); CheckedIcon.RefreshTheme(themeColors, control); UncheckedIcon.RefreshTheme(themeColors, control); LeftBracket.RefreshTheme(themeColors, control); RightBracket.RefreshTheme(themeColors, control); CheckedIcon.SetGlyph(251); UncheckedIcon.SetGlyph(0); LeftBracket.SetGlyph('['); RightBracket.SetGlyph(']'); }