DIFF

class OptionsMenuSource

OptionsMenu UIScriptedMenu UIMenuPanel Managed

All members, including inherited

Constructors 2

void OptionsMenu()
void ~OptionsMenu()

Constants 2

const int DIALOG_TAB_OFFSET = 1400

Members 18

protected TabberUI m_Tabber
protected ref GameOptions m_Options
protected ButtonWidget m_Apply
protected ButtonWidget m_Back
Referenced by Init(), IsFocusable(), and OnClick()
protected ButtonWidget m_Reset

undo

protected ButtonWidget m_Defaults

defaults

Referenced by Init(), IsFocusable(), and OnClick()
protected Widget m_Details
Referenced by Init()
protected TextWidget m_Version
Referenced by Init(), and Refresh()
protected int m_ActiveTabIdx = 0
protected bool m_ModalLock
Referenced by Init(), OnModalResult(), and Update()
protected bool m_CanApplyOrReset
protected bool m_CanToggle
Referenced by Init(), SliderFocus(), ToggleFocus()
Show 1 more, UpdateControlsElements()
protected ButtonWidget m_GamepadControlsPLATFORM_MSSTORE
Referenced by Init(), and OnClick()
protected ButtonWidget m_KeyboardBindingsPLATFORM_MSSTORE
Referenced by Init(), and OnClick()

Methods 34

protected void OnInputPresetChanged()
void SliderFocus()
Referenced by OnFocus()
void ToggleFocus()
Referenced by Init(), and OnFocus()
void ToggleDependentOptions(int mode, bool state)

Controls visibility and sometimes even state of specific, dependent options across sub-menus

void ReloadVideoOptions()
override bool OnMouseEnter(Widget w, int x, int y)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
override bool OnFocusLost(Widget w, int x, int y)
bool IsFocusable(Widget w)
References m_Apply, m_Back, m_Defaults
Show 1 more, m_Reset
Referenced by OnFocus(), OnFocusLost(), OnMouseEnter()
Show 1 more, OnMouseLeave()
override void OnShow()
void ColorDisable(Widget w)
Referenced by Apply(), OnChanged(), Reset()
Show 1 more, ResetCurrentTab()