Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_BaseToggleToolbarAction Class Reference
Inheritance diagram for SCR_BaseToggleToolbarAction:
SCR_EditorToolbarAction SCR_AttachToEntityToolbarAction SCR_BaseCommandAction SCR_FlashlightToolbarAction SCR_HintSequenceToolbarAction SCR_PauseGameTimeToolbarAction SCR_PlacingFlagToolbarAction SCR_ToggleLocalEditorNightModeToolbarAction SCR_SpawnPointBaseCommandAction SCR_TaskBaseCommandAction SCR_WaypointBaseCommandAction

Protected Member Functions

ScriptInvoker GetOnToggleChange ()
void Toggle (int value, bool highlight=false)
int GetCurrentValue ()
 Current value.
int GetCurrentHighlight ()
 Current value.
void Track ()
void Untrack ()
SCR_UIInfo GetInfoToggled ()

Protected Attributes

ref SCR_UIInfo m_InfoToggled
ref ScriptInvoker m_OnToggleChanged = new ScriptInvoker()
int m_iCurrentValue = -1
bool m_bCurrentHighlight = false

Detailed Description

Definition at line 3 of file SCR_BaseToggleToolbarAction.c.

Member Function Documentation

◆ GetCurrentHighlight()

int SCR_BaseToggleToolbarAction::GetCurrentHighlight ( )
inlineprotected

Current value.

Definition at line 42 of file SCR_BaseToggleToolbarAction.c.

◆ GetCurrentValue()

int SCR_BaseToggleToolbarAction::GetCurrentValue ( )
inlineprotected

Current value.

Definition at line 36 of file SCR_BaseToggleToolbarAction.c.

◆ GetInfoToggled()

SCR_UIInfo SCR_BaseToggleToolbarAction::GetInfoToggled ( )
inlineprotected

Definition at line 70 of file SCR_BaseToggleToolbarAction.c.

◆ GetOnToggleChange()

ScriptInvoker SCR_BaseToggleToolbarAction::GetOnToggleChange ( )
inlineprotected

Get ScriptInvoker called when the action is toggled by some external event.

Definition at line 16 of file SCR_BaseToggleToolbarAction.c.

◆ Toggle()

void SCR_BaseToggleToolbarAction::Toggle ( int value,
bool highlight = false )
inlineprotected

Toggle action state. To be called by inherited classes.

Definition at line 25 of file SCR_BaseToggleToolbarAction.c.

◆ Track()

void SCR_BaseToggleToolbarAction::Track ( )
inlineprotected

Track events which influence the action. Called when the action's GUI representation is created. To be overloaded by inherited classes.

Definition at line 52 of file SCR_BaseToggleToolbarAction.c.

◆ Untrack()

void SCR_BaseToggleToolbarAction::Untrack ( )
inlineprotected

Untrack events which influence the action. Called when the action's GUI representation is destroyed. To be overloaded by inherited classes.

Definition at line 61 of file SCR_BaseToggleToolbarAction.c.

Member Data Documentation

◆ m_bCurrentHighlight

bool SCR_BaseToggleToolbarAction::m_bCurrentHighlight = false
protected

Definition at line 11 of file SCR_BaseToggleToolbarAction.c.

◆ m_iCurrentValue

int SCR_BaseToggleToolbarAction::m_iCurrentValue = -1
protected

Definition at line 10 of file SCR_BaseToggleToolbarAction.c.

◆ m_InfoToggled

ref SCR_UIInfo SCR_BaseToggleToolbarAction::m_InfoToggled
protected

Definition at line 6 of file SCR_BaseToggleToolbarAction.c.

◆ m_OnToggleChanged

ref ScriptInvoker SCR_BaseToggleToolbarAction::m_OnToggleChanged = new ScriptInvoker()
protected

Definition at line 8 of file SCR_BaseToggleToolbarAction.c.


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