Ejemplo n.º 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));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 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)));
 }
Ejemplo n.º 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));
 }
Ejemplo n.º 5
0
 public override BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height)
 {
     return(DaggerfallUI.AddCheckbox(new Vector2(x + 95, y), Value));
 }
Ejemplo n.º 6
0
 /// <summary>
 /// Draws a control on game window.
 /// </summary>
 public abstract BaseScreenComponent OnWindow(ModSettingsWindow window, float x, float y, ref int height);