Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_ActionContextUIInfo Class Reference
Inheritance diagram for SCR_ActionContextUIInfo:
SCR_ActionUIInfo

Protected Member Functions

ResourceName GetLayout ()
void OnWidgetAssigned (Widget widget)
Widget GetAssignedWidget ()
ScriptInvokerWidget GetOnWidgetAssigned ()
 Listen to this ScriptInvoker to detect if and what Widget is assigned to it, to modify it as needed.

Protected Attributes

ResourceName m_sLayoutName
Widget m_wAssignedWidget
ref ScriptInvokerWidget m_OnWidgetAssigned

Detailed Description

Definition at line 1 of file SCR_ActionContextUIInfo.c.

Member Function Documentation

◆ GetAssignedWidget()

Widget SCR_ActionContextUIInfo::GetAssignedWidget ( )
inlineprotected

Get the currently assigned Widget Use this to check if a Widget was already assigned to the context before you listened to the ScriptInvoker

Definition at line 34 of file SCR_ActionContextUIInfo.c.

◆ GetLayout()

ResourceName SCR_ActionContextUIInfo::GetLayout ( )
inlineprotected

Get the layout which will be shwon for the context

Returns
layout

Definition at line 15 of file SCR_ActionContextUIInfo.c.

◆ GetOnWidgetAssigned()

ScriptInvokerWidget SCR_ActionContextUIInfo::GetOnWidgetAssigned ( )
inlineprotected

Listen to this ScriptInvoker to detect if and what Widget is assigned to it, to modify it as needed.

Definition at line 41 of file SCR_ActionContextUIInfo.c.

◆ OnWidgetAssigned()

void SCR_ActionContextUIInfo::OnWidgetAssigned ( Widget widget)
inlineprotected

Gets called everytime a new Widget gets assigned to the context this UIInfo is part of.

Parameters
[in]WidgetWidget that is assigned to this context.

Definition at line 23 of file SCR_ActionContextUIInfo.c.

Member Data Documentation

◆ m_OnWidgetAssigned

ref ScriptInvokerWidget SCR_ActionContextUIInfo::m_OnWidgetAssigned
protected

Definition at line 10 of file SCR_ActionContextUIInfo.c.

◆ m_sLayoutName

ResourceName SCR_ActionContextUIInfo::m_sLayoutName
protected

Definition at line 4 of file SCR_ActionContextUIInfo.c.

◆ m_wAssignedWidget

Widget SCR_ActionContextUIInfo::m_wAssignedWidget
protected

Definition at line 6 of file SCR_ActionContextUIInfo.c.


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