Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
SCR_KeybindSetting Interface Reference
Inheritance diagram for SCR_KeybindSetting:
[legend]

Public Member Functions

override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
override void OnMenuUpdate (float tDelta)
 
override void OnTabShow ()
 
override void OnTabHide ()
 
override void OnMenuFocusGained ()
 
override void OnMenuFocusLost ()
 
override void OnMenuShow ()
 
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
override void OnTabHide ()
 
override void OnTabShow ()
 
- Public Member Functions inherited from SCR_SubMenuBase
void OnMenuFocusGained ()
 
void OnMenuFocusLost ()
 
void OnMenuShow ()
 
void OnMenuHide ()
 
void OnMenuUpdate (float tDelta)
 
void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
void OnTabShow ()
 
void OnTabHide ()
 
void OnTabRemove ()
 
void OnTabChange ()
 
bool GetShown ()
 
int GetIndex ()
 
ScriptInvokerVoid GetOnRequestCloseMenu ()
 
ScriptInvokerInt2 GetOnRequestTabChange ()
 
- Public Member Functions inherited from SCR_ScriptedWidgetComponent
override void HandlerAttached (Widget w)
 
override bool OnClick (Widget w, int x, int y, int button)
 
Widget GetRootWidget ()
 
bool IsVisible ()
 

Public Attributes

SCR_MenuActionsComponent m_ActionsComponent
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Protected Member Functions

void ListActionsFromCurrentCategory ()
 
void UpdateListSelectionDisplay (int index)
 
void UpdateFocusedWidget (Widget w)
 
void InsertCategoriesToComboBox ()
 
void ResetKeybindsToDefault ()
 
void ResetSingleKeybindToDefault ()
 
void ResetKeybindsToDefaultConfirm ()
 
void CreateResetAllKeybindsButton ()
 
void CreateSingleKeybindResetButton ()
 
void CreateUnbindSingleButton ()
 
void CreateSimpleBindingButton ()
 
void CreateAdvancedBindingButton ()
 
void UnbindSingleAction ()
 
void AdvancedKeybindButtonClick ()
 
void UpdateButtons ()
 
void UpdateDescription ()
 
void OnRowFocus (SCR_ScriptedWidgetComponent component)
 
void OnRowFocusLost (SCR_ScriptedWidgetComponent component)
 
void OnRowInlineButton (string name)
 
void OnActionTriggered (string name, float multiplier)
 
void OnKeyCaptured ()
 
void OnComboBoxChange ()
 
void OnInputDeviceChange (EInputDeviceType oldDevice, EInputDeviceType newDevice)
 
- Protected Member Functions inherited from SCR_SettingsSubMenuBase
void LoadSettings (bool forceLoadSettings=false, bool addEntryChangedEventHandler=true)
 
void OnMenuItemChanged (SCR_SettingsBindingBase binding)
 
void HideMenuItem (string widgetName)
 
- Protected Member Functions inherited from SCR_SubMenuBase
void ShowNavigationButtons (bool show)
 
void FlagNavigationButtonVisibility (SCR_InputButtonComponent button, bool show)
 
void SetNavigationButtonVisibile (SCR_InputButtonComponent button, bool show, bool animate=false)
 
SCR_InputButtonComponent CreateNavigationButton (string actionName, string label, bool rightFooter=false, bool show=true)
 
void RequestCloseMenu ()
 
void RequestTabChange (int newTabIndex)
 

Protected Attributes

ref SCR_KeyBindingMenuConfig m_KeybindConfig
 
VerticalLayoutWidget m_wActionsLayout
 
ScrollLayoutWidget m_wActionsScrollLayout
 
ref InputBinding m_Binding
 
SCR_KeybindRowComponent m_SelectedRowComponent
 
int m_iLastSelectedRowIndex
 
float m_fLastSliderY
 
SCR_InputButtonComponent m_ResetSingleButton
 
SCR_InputButtonComponent m_UnbindSingleActionButton
 
SCR_InputButtonComponent m_SimpleBindingButton
 
SCR_InputButtonComponent m_AdvancedBindingButton
 
SCR_SettingsManagerKeybindModule m_SettingsKeybindModule
 
ref array< Widget > m_aRowWidgets = {}
 
ref array< SCR_InputButtonComponentm_aRowFooterButtons = {}
 
TextWidget m_wDescriptionHeader
 
RichTextWidget m_wDescription
 
RichTextWidget m_wDescriptionNL
 
Widget m_wDescriptionActionRowsContainer
 
ScrollLayoutWidget m_wDescriptionScroll
 
ref array< Widget > m_aDescriptionActionRows = {}
 
SCR_InputButtonComponent m_ResetAllButton
 
SCR_SpinBoxComponent m_CategoriesSpinBox
 
- Protected Attributes inherited from SCR_SettingsSubMenuBase
ref array< ref SCR_SettingsBindingBasem_aSettingsBindings = {}
 
ScrollLayoutWidget m_wScroll
 
bool m_bLoadingSettings
 
- Protected Attributes inherited from SCR_SubMenuBase
ResourceName m_sNavigationButtonLayout
 
SCR_DynamicFooterComponent m_DynamicFooter
 
ref array< SCR_InputButtonComponentm_aNavigationButtons = {}
 
ref map< SCR_InputButtonComponent, bool > m_aNavigationButtonsVisibilityFlags = new map<SCR_InputButtonComponent, bool>()
 
Widget m_wMenuRoot
 
int m_iIndex
 
bool m_bShown
 
bool m_bFocused
 
ref ScriptInvokerVoid m_OnRequestCloseMenu
 
ref ScriptInvokerInt2 m_OnRequestTabChange
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Static Protected Attributes

static const string ACTION_ROW_LAYOUT_PATH = "{75B1F7B766CA8C91}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindRow.layout"
 
static const string SEPARATOR_LAYOUT_PATH = "{01D9FD7791700ADA}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindSeparator.layout"
 
static const string DESCRIPTION_ACTION_ROW_LAYOUT_PATH = "{929E92CB72FBE8DD}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindsSettingsDescriptionActionRow.layout"
 
static const string KEY_BINDING_CONFIG = "{4EE7794C9A3F11EF}Configs/System/keyBindingMenu.conf"
 
const float FIRST_SEPARATOR_PADDING = 20
 
static const string PRIMARY_PRESET_PREFIX = ""
 
const string DESCRIPTION = "#AR-Settings_Keybind_DetailsPanel_Description"
 
const string DESCRIPTION_ADVANCED_BINDINGS = "#AR-Settings_Keybind_DetailsPanel_Description_AdvancedBindings"
 
static const string ACTION_RESET_SINGLE = "MenuResetKeybind"
 
static const string ACTION_RESET_ALL = "MenuResetAllKeybind"
 
static const string ACTION_UNBIND = "MenuUnbindKeybind"
 
static const string ACTION_ADVANCED_KEYBIND = "MenuAdvancedKeybind"
 

Additional Inherited Members

- Static Public Member Functions inherited from SCR_ScriptedWidgetComponent
static SCR_ScriptedWidgetComponent GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true)
 Base method for component lookup through the widget library.
 

Member Function Documentation

◆ AdvancedKeybindButtonClick()

void SCR_KeybindSetting.AdvancedKeybindButtonClick ( )
protected

◆ CreateAdvancedBindingButton()

void SCR_KeybindSetting.CreateAdvancedBindingButton ( )
protected

◆ CreateResetAllKeybindsButton()

void SCR_KeybindSetting.CreateResetAllKeybindsButton ( )
protected

◆ CreateSimpleBindingButton()

void SCR_KeybindSetting.CreateSimpleBindingButton ( )
protected

◆ CreateSingleKeybindResetButton()

void SCR_KeybindSetting.CreateSingleKeybindResetButton ( )
protected

◆ CreateUnbindSingleButton()

void SCR_KeybindSetting.CreateUnbindSingleButton ( )
protected

◆ InsertCategoriesToComboBox()

void SCR_KeybindSetting.InsertCategoriesToComboBox ( )
protected

◆ ListActionsFromCurrentCategory()

void SCR_KeybindSetting.ListActionsFromCurrentCategory ( )
protected

◆ OnActionTriggered()

void SCR_KeybindSetting.OnActionTriggered ( string  name,
float  multiplier 
)
protected

◆ OnComboBoxChange()

void SCR_KeybindSetting.OnComboBoxChange ( )
protected

◆ OnInputDeviceChange()

void SCR_KeybindSetting.OnInputDeviceChange ( EInputDeviceType  oldDevice,
EInputDeviceType  newDevice 
)
protected

◆ OnKeyCaptured()

void SCR_KeybindSetting.OnKeyCaptured ( )
protected

◆ OnMenuFocusGained()

override void SCR_KeybindSetting.OnMenuFocusGained ( )

Implements SCR_SubMenuBase.

◆ OnMenuFocusLost()

override void SCR_KeybindSetting.OnMenuFocusLost ( )

Implements SCR_SubMenuBase.

◆ OnMenuShow()

override void SCR_KeybindSetting.OnMenuShow ( )

Implements SCR_SubMenuBase.

◆ OnMenuUpdate()

override void SCR_KeybindSetting.OnMenuUpdate ( float  tDelta)

Implements SCR_SubMenuBase.

◆ OnRowFocus()

void SCR_KeybindSetting.OnRowFocus ( SCR_ScriptedWidgetComponent  component)
protected

◆ OnRowFocusLost()

void SCR_KeybindSetting.OnRowFocusLost ( SCR_ScriptedWidgetComponent  component)
protected

◆ OnRowInlineButton()

void SCR_KeybindSetting.OnRowInlineButton ( string  name)
protected

◆ OnTabCreate()

override void SCR_KeybindSetting.OnTabCreate ( Widget  menuRoot,
ResourceName  buttonsLayout,
int  index 
)

◆ OnTabHide()

override void SCR_KeybindSetting.OnTabHide ( )

◆ OnTabShow()

override void SCR_KeybindSetting.OnTabShow ( )

◆ ResetKeybindsToDefault()

void SCR_KeybindSetting.ResetKeybindsToDefault ( )
protected

◆ ResetKeybindsToDefaultConfirm()

void SCR_KeybindSetting.ResetKeybindsToDefaultConfirm ( )
protected

◆ ResetSingleKeybindToDefault()

void SCR_KeybindSetting.ResetSingleKeybindToDefault ( )
protected

◆ UnbindSingleAction()

void SCR_KeybindSetting.UnbindSingleAction ( )
protected

◆ UpdateButtons()

void SCR_KeybindSetting.UpdateButtons ( )
protected

◆ UpdateDescription()

void SCR_KeybindSetting.UpdateDescription ( )
protected

◆ UpdateFocusedWidget()

void SCR_KeybindSetting.UpdateFocusedWidget ( Widget  w)
protected

◆ UpdateListSelectionDisplay()

void SCR_KeybindSetting.UpdateListSelectionDisplay ( int  index)
protected

Member Data Documentation

◆ ACTION_ADVANCED_KEYBIND

const string SCR_KeybindSetting.ACTION_ADVANCED_KEYBIND = "MenuAdvancedKeybind"
staticprotected

◆ ACTION_RESET_ALL

const string SCR_KeybindSetting.ACTION_RESET_ALL = "MenuResetAllKeybind"
staticprotected

◆ ACTION_RESET_SINGLE

const string SCR_KeybindSetting.ACTION_RESET_SINGLE = "MenuResetKeybind"
staticprotected

◆ ACTION_ROW_LAYOUT_PATH

const string SCR_KeybindSetting.ACTION_ROW_LAYOUT_PATH = "{75B1F7B766CA8C91}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindRow.layout"
staticprotected

◆ ACTION_UNBIND

const string SCR_KeybindSetting.ACTION_UNBIND = "MenuUnbindKeybind"
staticprotected

◆ DESCRIPTION

const string SCR_KeybindSetting.DESCRIPTION = "#AR-Settings_Keybind_DetailsPanel_Description"
staticprotected

◆ DESCRIPTION_ACTION_ROW_LAYOUT_PATH

const string SCR_KeybindSetting.DESCRIPTION_ACTION_ROW_LAYOUT_PATH = "{929E92CB72FBE8DD}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindsSettingsDescriptionActionRow.layout"
staticprotected

◆ DESCRIPTION_ADVANCED_BINDINGS

const string SCR_KeybindSetting.DESCRIPTION_ADVANCED_BINDINGS = "#AR-Settings_Keybind_DetailsPanel_Description_AdvancedBindings"
staticprotected

◆ FIRST_SEPARATOR_PADDING

const float SCR_KeybindSetting.FIRST_SEPARATOR_PADDING = 20
staticprotected

◆ KEY_BINDING_CONFIG

const string SCR_KeybindSetting.KEY_BINDING_CONFIG = "{4EE7794C9A3F11EF}Configs/System/keyBindingMenu.conf"
staticprotected

◆ m_ActionsComponent

SCR_MenuActionsComponent SCR_KeybindSetting.m_ActionsComponent

◆ m_aDescriptionActionRows

ref array<Widget> SCR_KeybindSetting.m_aDescriptionActionRows = {}
protected

◆ m_AdvancedBindingButton

SCR_InputButtonComponent SCR_KeybindSetting.m_AdvancedBindingButton
protected

◆ m_aRowFooterButtons

ref array<SCR_InputButtonComponent> SCR_KeybindSetting.m_aRowFooterButtons = {}
protected

◆ m_aRowWidgets

ref array<Widget> SCR_KeybindSetting.m_aRowWidgets = {}
protected

◆ m_Binding

ref InputBinding SCR_KeybindSetting.m_Binding
protected

◆ m_CategoriesSpinBox

SCR_SpinBoxComponent SCR_KeybindSetting.m_CategoriesSpinBox
protected

◆ m_fLastSliderY

float SCR_KeybindSetting.m_fLastSliderY
protected

◆ m_iLastSelectedRowIndex

int SCR_KeybindSetting.m_iLastSelectedRowIndex
protected

◆ m_KeybindConfig

ref SCR_KeyBindingMenuConfig SCR_KeybindSetting.m_KeybindConfig
protected

◆ m_ResetAllButton

SCR_InputButtonComponent SCR_KeybindSetting.m_ResetAllButton
protected

◆ m_ResetSingleButton

SCR_InputButtonComponent SCR_KeybindSetting.m_ResetSingleButton
protected

◆ m_SelectedRowComponent

SCR_KeybindRowComponent SCR_KeybindSetting.m_SelectedRowComponent
protected

◆ m_SettingsKeybindModule

SCR_SettingsManagerKeybindModule SCR_KeybindSetting.m_SettingsKeybindModule
protected

◆ m_SimpleBindingButton

SCR_InputButtonComponent SCR_KeybindSetting.m_SimpleBindingButton
protected

◆ m_UnbindSingleActionButton

SCR_InputButtonComponent SCR_KeybindSetting.m_UnbindSingleActionButton
protected

◆ m_wActionsLayout

VerticalLayoutWidget SCR_KeybindSetting.m_wActionsLayout
protected

◆ m_wActionsScrollLayout

ScrollLayoutWidget SCR_KeybindSetting.m_wActionsScrollLayout
protected

◆ m_wDescription

RichTextWidget SCR_KeybindSetting.m_wDescription
protected

◆ m_wDescriptionActionRowsContainer

Widget SCR_KeybindSetting.m_wDescriptionActionRowsContainer
protected

◆ m_wDescriptionHeader

TextWidget SCR_KeybindSetting.m_wDescriptionHeader
protected

◆ m_wDescriptionNL

RichTextWidget SCR_KeybindSetting.m_wDescriptionNL
protected

◆ m_wDescriptionScroll

ScrollLayoutWidget SCR_KeybindSetting.m_wDescriptionScroll
protected

◆ PRIMARY_PRESET_PREFIX

const string SCR_KeybindSetting.PRIMARY_PRESET_PREFIX = ""
staticprotected

◆ SEPARATOR_LAYOUT_PATH

const string SCR_KeybindSetting.SEPARATOR_LAYOUT_PATH = "{01D9FD7791700ADA}UI/layouts/Menus/SettingsMenu/BindingMenu/KeybindSeparator.layout"
staticprotected

The documentation for this interface was generated from the following file: