Example #1
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     return(DaggerfallUI.AddColorPicker(new Vector2(x + 95, y), Value, window.UiManager, window));
 }
Example #2
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     height += 6;
     return(DaggerfallUI.AddTextBoxWithFocus(new Rect(x + 2, y + 6, window.LineWidth - 4, 6), Value));
 }
Example #3
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     return(MultiTextBox.Make(new Rect(x + 95, y, 40, 6), mt => mt.DoLayout(Value.First, Value.Second)));
 }
Example #4
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     height += 6;
     return(DaggerfallUI.AddSlider(new Vector2(x, y + 6), slider => slider.SetIndicator(Min, Max, Value), window.TextScale));
 }
Example #5
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     return(DaggerfallUI.AddCheckbox(new Vector2(x + 95, y), Value));
 }
Example #6
0
 /// <summary>
 /// Draws a control on game window.
 /// </summary>
 public abstract BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height);