Ejemplo n.º 1
0
 public ColorPicker(Menu.MenuSettings menuSettings, string text, Setting <Color> setting)
     : base(menuSettings)
 {
     this.text    = text;
     this.value   = setting.Value;
     this.setting = setting;
 }
Ejemplo n.º 2
0
 public IntPicker(Menu.MenuSettings menuSettings, string text, SettingIntRange setting) : base(menuSettings)
 {
     this.text    = text;
     this.min     = setting.Min;
     this.max     = setting.Max;
     this.value   = setting.Value;
     this.setting = setting;
 }
Ejemplo n.º 3
0
 protected MenuItem(Menu.MenuSettings settings)
 {
     this.settings = settings;
 }
Ejemplo n.º 4
0
 public BooleanButton(Menu.MenuSettings ms, string text, Setting <bool> setting = null) : base(ms)
 {
     this.text      = text;
     this.isEnabled = setting == null || setting.Value;
     this.setting   = setting;
 }
Ejemplo n.º 5
0
 protected MenuItem(Menu.MenuSettings settings)
 {
     this.settings = settings;
 }