|
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
◆ 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] | Widget | Widget that is assigned to this context. |
◆ 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:
- Game/UI/SCR_ActionContextUIInfo.c