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