DIFF

class KeybindingsMenuSource

KeybindingsMenu UIScriptedMenu UIMenuPanel Managed

All members, including inherited

Constants 6

Members 16

protected TabberUI m_Tabber
Referenced by CreateTabs(), Init(), and Update()
protected ref DropdownPrefab m_KBDropdown

DEPRECATED

protected ref OptionSelectorMultistate m_PresetSelector
protected ref array<ref KeybindingsGroup> m_Tabs

DEPRECATED

protected TextWidget m_Version
Referenced by Init(), and Refresh()
protected ButtonWidget m_Back
Referenced by Init(), IsFocusable(), and OnClick()
protected ButtonWidget m_Defaults
Referenced by Apply(), Init(), IsFocusable()
Show 1 more, OnClick()
protected ButtonWidget m_HardReset
Referenced by Init(), IsFocusable(), and OnClick()
protected int m_CurrentSettingKeyIndex = -1
protected int m_CurrentSettingAlternateKeyIndex = -1
protected int m_OriginalPresetIndex
protected int m_TargetPresetIndex
protected ref array<int> m_SetKeybinds

Methods 39

void CreateGroupContainer()
Referenced by Init()
void UpdateTabContent(int tab_index)
void ClearKeybind(int key_index)
References Widget.ClearFlags(), Widget.ClearFlags(), ColorWhite()
Show 2 more, m_Apply, and m_Undo
void ClearAlternativeKeybind(int key_index)
References Widget.ClearFlags(), Widget.ClearFlags(), ColorWhite()
Show 2 more, m_Apply, and m_Undo
void CancelEnteringKeybind()
Referenced by Back()
void ConfirmKeybindEntry(TIntArray new_keys)
void ConfirmAlternateKeybindEntry(TIntArray new_keys)
override bool OnClick(Widget w, int x, int y, int button)
void Reset()

Undoes the unsaved changes and reverts to previous state. Does not reset to defaults!

Referenced by OnClick(), and OnModalResult()
void SetToDefaults()
Referenced by OnClick()
void HardReset()
Referenced by OnClick()
override void Refresh()
override bool OnMouseEnter(Widget w, int x, int y)
References ColorRed(), and IsFocusable()
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
References ColorDisabled(), ColorWhite(), Widget.GetFlags()
Show 1 more, IsFocusable()
override bool OnMouseWheel(Widget w, int x, int y, int wheel)
override bool OnFocus(Widget w, int x, int y)
References ColorRed(), and IsFocusable()
override bool OnFocusLost(Widget w, int x, int y)
References ColorDisabled(), ColorWhite(), Widget.GetFlags()
Show 1 more, IsFocusable()
bool IsFocusable(Widget w)
References m_Apply, m_Back, m_Defaults
Show 2 more, m_HardReset, and m_Undo
Referenced by OnFocus(), OnFocusLost(), OnMouseEnter()
Show 1 more, OnMouseLeave()
void ColorRed(Widget w)
References ARGB(), Class.Cast(), SetFocus()
Show 2 more, UIWidget.SetTextColor(), and m_Apply
Referenced by OnFocus(), and OnMouseEnter()
void ColorDisabled(Widget w)
Referenced by Apply(), Init(), OnFocusLost()
Show 3 more, OnMouseLeave(), PerformSetToDefaultsExt(), and Reset()
protected void InitInputSortingMap()
Referenced by Init()
KeybindingsContainer GetCurrentTab()
void AddGroup(int index, Input input)
void PerformSetToDefaults()

deprecated, resets all (as before ~1.20)

void DeferredDefaultsInit()

deprecated