Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_MenuHelper Class Reference

Static Protected Member Functions

static ScriptInvokerActiveWidgetInteraction GetOnActiveWidgetInteraction ()
static ScriptInvokerDialog GetOnDialogOpen ()
static ScriptInvokerDialog GetOnDialogClose ()
static ScriptInvokerMenu GetOnMenuOpen ()
static ScriptInvokerMenu GetOnMenuOpened ()
static ScriptInvokerMenu GetOnMenuClose ()
static ScriptInvokerMenu GetOnMenuFocusGained ()
static ScriptInvokerMenu GetOnMenuFocusLost ()
static ScriptInvokerMenu GetOnMenuShow ()
static ScriptInvokerMenu GetOnMenuHide ()
static ScriptInvokerTabView GetOnTabChange ()
static void SetActiveWidgetInteractionState (bool isActive, int delay=0)
static bool IsInTopMenu (notnull Widget componentRoot)
 NB: This will return false if the widget is in a DIALOG on top of the MENU!!!
static void OnDialogOpen (DialogUI dialog)
static void OnDialogClose (DialogUI dialog)
 Called by DialogUI.
static void OnMenuOpen (ChimeraMenuBase menu)
static void OnMenuOpened (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnMenuClose (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnMenuFocusGained (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnMenuFocusLost (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnMenuShow (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnMenuHide (ChimeraMenuBase menu)
 Called by ChimeraMenuBase.
static void OnTabChange (SCR_TabViewComponent tabView, Widget widget)
 Called by SCR_TabViewComponent.

Static Protected Attributes

static ref ScriptInvokerActiveWidgetInteraction m_OnActiveWidgetInteraction
static ref ScriptInvokerDialog m_OnDialogOpen
static ref ScriptInvokerDialog m_OnDialogClose
static ref ScriptInvokerMenu m_OnMenuOpen
static ref ScriptInvokerMenu m_OnMenuOpened
static ref ScriptInvokerMenu m_OnMenuClose
static ref ScriptInvokerMenu m_OnMenuFocusGained
static ref ScriptInvokerMenu m_OnMenuFocusLost
static ref ScriptInvokerMenu m_OnMenuShow
static ref ScriptInvokerMenu m_OnMenuHide
static ref ScriptInvokerTabView m_OnTabChange

Detailed Description

Definition at line 18 of file SCR_MenuHelper.c.

Member Function Documentation

◆ GetOnActiveWidgetInteraction()

ScriptInvokerActiveWidgetInteraction SCR_MenuHelper::GetOnActiveWidgetInteraction ( )
inlinestaticprotected

Definition at line 34 of file SCR_MenuHelper.c.

◆ GetOnDialogClose()

ScriptInvokerDialog SCR_MenuHelper::GetOnDialogClose ( )
inlinestaticprotected

Definition at line 52 of file SCR_MenuHelper.c.

◆ GetOnDialogOpen()

ScriptInvokerDialog SCR_MenuHelper::GetOnDialogOpen ( )
inlinestaticprotected

Definition at line 43 of file SCR_MenuHelper.c.

◆ GetOnMenuClose()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuClose ( )
inlinestaticprotected

Definition at line 79 of file SCR_MenuHelper.c.

◆ GetOnMenuFocusGained()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuFocusGained ( )
inlinestaticprotected

Definition at line 88 of file SCR_MenuHelper.c.

◆ GetOnMenuFocusLost()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuFocusLost ( )
inlinestaticprotected

Definition at line 97 of file SCR_MenuHelper.c.

◆ GetOnMenuHide()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuHide ( )
inlinestaticprotected

Definition at line 115 of file SCR_MenuHelper.c.

◆ GetOnMenuOpen()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuOpen ( )
inlinestaticprotected

Definition at line 61 of file SCR_MenuHelper.c.

◆ GetOnMenuOpened()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuOpened ( )
inlinestaticprotected

Definition at line 70 of file SCR_MenuHelper.c.

◆ GetOnMenuShow()

ScriptInvokerMenu SCR_MenuHelper::GetOnMenuShow ( )
inlinestaticprotected

Definition at line 106 of file SCR_MenuHelper.c.

◆ GetOnTabChange()

ScriptInvokerTabView SCR_MenuHelper::GetOnTabChange ( )
inlinestaticprotected

Definition at line 124 of file SCR_MenuHelper.c.

◆ IsInTopMenu()

bool SCR_MenuHelper::IsInTopMenu ( notnull Widget componentRoot)
inlinestaticprotected

NB: This will return false if the widget is in a DIALOG on top of the MENU!!!

Definition at line 144 of file SCR_MenuHelper.c.

◆ OnDialogClose()

void SCR_MenuHelper::OnDialogClose ( DialogUI dialog)
inlinestaticprotected

Called by DialogUI.

Definition at line 167 of file SCR_MenuHelper.c.

◆ OnDialogOpen()

void SCR_MenuHelper::OnDialogOpen ( DialogUI dialog)
inlinestaticprotected

Methods to keep track of current dialogs. The MenuManager does not keep track of dialogs: GetTopMenu() only returns the last menu opened with OpenMenu(), not those opened with OpenDialog() Navigation buttons bind themselves to m_OnDialogOpen and m_OnDialogClose Called by DialogUI

Definition at line 159 of file SCR_MenuHelper.c.

◆ OnMenuClose()

void SCR_MenuHelper::OnMenuClose ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 192 of file SCR_MenuHelper.c.

◆ OnMenuFocusGained()

void SCR_MenuHelper::OnMenuFocusGained ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 200 of file SCR_MenuHelper.c.

◆ OnMenuFocusLost()

void SCR_MenuHelper::OnMenuFocusLost ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 208 of file SCR_MenuHelper.c.

◆ OnMenuHide()

void SCR_MenuHelper::OnMenuHide ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 224 of file SCR_MenuHelper.c.

◆ OnMenuOpen()

void SCR_MenuHelper::OnMenuOpen ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase SCR_ScriptedWidgetTooltip uses this to make sure the tooltip is removed when the menu changes

Definition at line 176 of file SCR_MenuHelper.c.

◆ OnMenuOpened()

void SCR_MenuHelper::OnMenuOpened ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 184 of file SCR_MenuHelper.c.

◆ OnMenuShow()

void SCR_MenuHelper::OnMenuShow ( ChimeraMenuBase menu)
inlinestaticprotected

Called by ChimeraMenuBase.

Definition at line 216 of file SCR_MenuHelper.c.

◆ OnTabChange()

void SCR_MenuHelper::OnTabChange ( SCR_TabViewComponent tabView,
Widget widget )
inlinestaticprotected

Called by SCR_TabViewComponent.

Definition at line 232 of file SCR_MenuHelper.c.

◆ SetActiveWidgetInteractionState()

void SCR_MenuHelper::SetActiveWidgetInteractionState ( bool isActive,
int delay = 0 )
inlinestaticprotected

Navigation buttons are bound to this delegate to disable themselves during edit/combo boxes interaction and prevent reenabling Edit boxes and dropdown menus call this method as a substitute for the lack of events when starting and finishing txt editing / dropdown interaction

Definition at line 136 of file SCR_MenuHelper.c.

Member Data Documentation

◆ m_OnActiveWidgetInteraction

ref ScriptInvokerActiveWidgetInteraction SCR_MenuHelper::m_OnActiveWidgetInteraction
staticprotected

Definition at line 20 of file SCR_MenuHelper.c.

◆ m_OnDialogClose

ref ScriptInvokerDialog SCR_MenuHelper::m_OnDialogClose
staticprotected

Definition at line 22 of file SCR_MenuHelper.c.

◆ m_OnDialogOpen

ref ScriptInvokerDialog SCR_MenuHelper::m_OnDialogOpen
staticprotected

Definition at line 21 of file SCR_MenuHelper.c.

◆ m_OnMenuClose

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuClose
staticprotected

Definition at line 25 of file SCR_MenuHelper.c.

◆ m_OnMenuFocusGained

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuFocusGained
staticprotected

Definition at line 26 of file SCR_MenuHelper.c.

◆ m_OnMenuFocusLost

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuFocusLost
staticprotected

Definition at line 27 of file SCR_MenuHelper.c.

◆ m_OnMenuHide

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuHide
staticprotected

Definition at line 29 of file SCR_MenuHelper.c.

◆ m_OnMenuOpen

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuOpen
staticprotected

Definition at line 23 of file SCR_MenuHelper.c.

◆ m_OnMenuOpened

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuOpened
staticprotected

Definition at line 24 of file SCR_MenuHelper.c.

◆ m_OnMenuShow

ref ScriptInvokerMenu SCR_MenuHelper::m_OnMenuShow
staticprotected

Definition at line 28 of file SCR_MenuHelper.c.

◆ m_OnTabChange

ref ScriptInvokerTabView SCR_MenuHelper::m_OnTabChange
staticprotected

Definition at line 30 of file SCR_MenuHelper.c.


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