|
Arma Reforger Script API
|
Handles tab menus. More...
Public Member Functions | |
| void | Init (Widget menuRoot) |
| void | OnMenuShow () |
| void | OnMenuHide () |
| void | OnMenuUpdate (float tDelta) |
| void | OnMenuFocusGained () |
| void | OnMenuFocusLost () |
| void | OnMenuClose () |
| SCR_SubMenuBase | OnTabCreate (SCR_TabViewComponent comp, Widget w, int index) |
| SCR_SubMenuBase | OnTabShow (SCR_TabViewComponent comp, Widget w) |
| SCR_SubMenuBase | OnTabHide (SCR_TabViewComponent comp, Widget w) |
| SCR_SubMenuBase | OnTabRemove (SCR_TabViewComponent comp, Widget w) |
| SCR_SubMenuBase | OnTabChange (SCR_TabViewComponent comp, Widget w) |
| SCR_TabViewComponent | GetTabView () |
| int | GetSelectedTab () |
| SCR_SubMenuBase | GetOpenedSubMenu () |
| SCR_SubMenuBase | GetSubMenu (int index) |
| ScriptInvokerVoid | GetOnRequestCloseMenu () |
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 () |
Static Public Member Functions | |
| static SCR_SuperMenuComponent | FindComponent (notnull Widget w) |
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. | |
Public Attributes | |
| Widget | m_wMenuRoot |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Member Functions | |
| void | OnRequestCloseMenu () |
| void | OnRequestTabChange (int newTab, int oldTab) |
Protected Attributes | |
| ResourceName | m_sNavigationButtonLayout |
| string | m_sTabViewName |
| SCR_TabViewComponent | m_TabViewComponent |
| SCR_SubMenuBase | m_OpenedSubmenu |
| ref array< SCR_SubMenuBase > | m_aSubMenus = {} |
| ref ScriptInvokerVoid | m_OnRequestCloseMenu |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
Handles tab menus.
Requires:
Also determines which button layouts are used in the sub menus, so they are consistent across al tabs
|
static |
| ScriptInvokerVoid SCR_SuperMenuComponent.GetOnRequestCloseMenu | ( | ) |
| SCR_SubMenuBase SCR_SuperMenuComponent.GetOpenedSubMenu | ( | ) |
| int SCR_SuperMenuComponent.GetSelectedTab | ( | ) |
| SCR_SubMenuBase SCR_SuperMenuComponent.GetSubMenu | ( | int | index | ) |
| SCR_TabViewComponent SCR_SuperMenuComponent.GetTabView | ( | ) |
| void SCR_SuperMenuComponent.Init | ( | Widget | menuRoot | ) |
| void SCR_SuperMenuComponent.OnMenuClose | ( | ) |
Implemented in SCR_ModDetailsSuperMenuComponent.
| void SCR_SuperMenuComponent.OnMenuFocusGained | ( | ) |
| void SCR_SuperMenuComponent.OnMenuFocusLost | ( | ) |
| void SCR_SuperMenuComponent.OnMenuHide | ( | ) |
Implemented in SCR_ModDetailsSuperMenuComponent.
| void SCR_SuperMenuComponent.OnMenuShow | ( | ) |
Implemented in SCR_ModDetailsSuperMenuComponent.
| void SCR_SuperMenuComponent.OnMenuUpdate | ( | float | tDelta | ) |
|
protected |
|
protected |
| SCR_SubMenuBase SCR_SuperMenuComponent.OnTabChange | ( | SCR_TabViewComponent | comp, |
| Widget | w ) |
| SCR_SubMenuBase SCR_SuperMenuComponent.OnTabCreate | ( | SCR_TabViewComponent | comp, |
| Widget | w, | ||
| int | index ) |
Implemented in SCR_ModDetailsSuperMenuComponent.
| SCR_SubMenuBase SCR_SuperMenuComponent.OnTabHide | ( | SCR_TabViewComponent | comp, |
| Widget | w ) |
| SCR_SubMenuBase SCR_SuperMenuComponent.OnTabRemove | ( | SCR_TabViewComponent | comp, |
| Widget | w ) |
| SCR_SubMenuBase SCR_SuperMenuComponent.OnTabShow | ( | SCR_TabViewComponent | comp, |
| Widget | w ) |
Implemented in SCR_ModDetailsSuperMenuComponent.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| Widget SCR_SuperMenuComponent.m_wMenuRoot |