Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ControllerPresetsSettingsSubmenu Interface Reference
Inheritance diagram for SCR_ControllerPresetsSettingsSubmenu:
SCR_SettingsSubMenuBase SCR_SubMenuBase SCR_ScriptedWidgetComponent

Public Member Functions

override void OnTabHide ()
 
override void OnTabCreate (Widget menuRoot, ResourceName buttonsLayout, int index)
 
SCR_ComboBoxComponent BindControllerPresets (string widgetName, notnull array< ref SCR_ControllerPreset > presets)
 
void SelectControllerPreset (SCR_ComboBoxComponent comp, int index)
 
void SelectJoystickPreset (SCR_ComboBoxComponent comp, int index)
 
- Public Member Functions inherited from SCR_SettingsSubMenuBase
override void OnTabShow ()
 
- Public Member Functions inherited from SCR_SubMenuBase
void OnMenuFocusGained ()
 
void OnMenuFocusLost ()
 
void OnMenuShow ()
 
void OnMenuHide ()
 
void OnMenuUpdate (float tDelta)
 
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

ref array< ref SCR_ControllerPresetm_aJoystickPresets = {}
 
- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Protected Member Functions

void HandleJoystickDevices ()
 
void OnIndexChanged (SCR_ComboBoxComponent component, int index)
 
void SetupJoystickPresets (SCR_ComboBoxComponent component)
 
- 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)
 

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.
 
- 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
 

Member Function Documentation

◆ BindControllerPresets()

SCR_ComboBoxComponent SCR_ControllerPresetsSettingsSubmenu.BindControllerPresets ( string widgetName,
notnull array< ref SCR_ControllerPreset > presets )
Parameters
[in]widgetName
[in]presets
Returns

◆ HandleJoystickDevices()

void SCR_ControllerPresetsSettingsSubmenu.HandleJoystickDevices ( )
protected

◆ OnIndexChanged()

void SCR_ControllerPresetsSettingsSubmenu.OnIndexChanged ( SCR_ComboBoxComponent component,
int index )
protected

◆ OnTabCreate()

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

◆ OnTabHide()

override void SCR_ControllerPresetsSettingsSubmenu.OnTabHide ( )

◆ SelectControllerPreset()

void SCR_ControllerPresetsSettingsSubmenu.SelectControllerPreset ( SCR_ComboBoxComponent comp,
int index )
Parameters
[in]comp
[in]index

◆ SelectJoystickPreset()

void SCR_ControllerPresetsSettingsSubmenu.SelectJoystickPreset ( SCR_ComboBoxComponent comp,
int index )
Parameters
[in]comp
[in]index

◆ SetupJoystickPresets()

void SCR_ControllerPresetsSettingsSubmenu.SetupJoystickPresets ( SCR_ComboBoxComponent component)
protected
Parameters
[in]comp

Member Data Documentation

◆ m_aJoystickPresets

ref array<ref SCR_ControllerPreset> SCR_ControllerPresetsSettingsSubmenu.m_aJoystickPresets = {}

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