Arma Reforger Script API
Loading...
Searching...
No Matches
SCR_ActionContextUIInfo Interface Reference
Inheritance diagram for SCR_ActionContextUIInfo:
SCR_ActionUIInfo UIInfo

Public Member Functions

ResourceName GetLayout ()
 Get the layout which will be shwon for the context.
 
void OnWidgetAssigned (Widget widget)
 Gets called everytime a new Widget gets assigned to the context this UIInfo is part of.
 
Widget GetAssignedWidget ()
 Get the currently assigned Widget Use this to check if a Widget was already assigned to the context before you listened to the ScriptInvoker.
 
ScriptInvokerWidget GetOnWidgetAssigned ()
 Listen to this ScriptInvoker to detect if and what Widget is assigned to it, to modify it as needed.
 
- Public Member Functions inherited from SCR_ActionUIInfo
bool SetIconTo (ImageWidget imageWidget, ImageWidget glowWidget=null)
 Set icon to given image widgets.
 
void SetImageSet (ResourceName imageset)
 Set the ImageSet to be used for the Image widget.
 
string GetIconName ()
 Get the icon name if defined.
 
- Public Member Functions inherited from UIInfo
proto external string GetName ()
 Returns the text provided by this UI info.
 
proto external void SetName (string name)
 Set the name of this UI Info.
 
proto external string GetDescription ()
 Returns the description provided by this UI info.
 
proto external void SetDescription (string description)
 Set the description of this UI Info.
 
proto external ResourceName GetIconPath ()
 Returns the icon ResourceName provided by this UI info.
 

Protected Attributes

ResourceName m_sLayoutName
 
Widget m_wAssignedWidget
 
ref ScriptInvokerWidget m_OnWidgetAssigned
 
- Protected Attributes inherited from SCR_ActionUIInfo
ResourceName m_sInteractionIcon
 
ResourceName m_sInteractionGlowIcon
 
string m_sIconName
 

Member Function Documentation

◆ GetAssignedWidget()

Widget SCR_ActionContextUIInfo.GetAssignedWidget ( )

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

◆ GetLayout()

ResourceName SCR_ActionContextUIInfo.GetLayout ( )

Get the layout which will be shwon for the context.

Returns
layout

◆ GetOnWidgetAssigned()

ScriptInvokerWidget SCR_ActionContextUIInfo.GetOnWidgetAssigned ( )

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

◆ OnWidgetAssigned()

void SCR_ActionContextUIInfo.OnWidgetAssigned ( Widget widget)

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.

Member Data Documentation

◆ m_OnWidgetAssigned

ref ScriptInvokerWidget SCR_ActionContextUIInfo.m_OnWidgetAssigned
protected

◆ m_sLayoutName

ResourceName SCR_ActionContextUIInfo.m_sLayoutName
protected

◆ m_wAssignedWidget

Widget SCR_ActionContextUIInfo.m_wAssignedWidget
protected

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