|
Arma Reforger Script API
|
Helper component for core menu header button prefabs. More...
Public Member Functions | |
| override void | HandlerAttached (Widget w) |
| void | SetIcon (string name) |
| void | SetCountText (string text) |
| void | SetCountVisible (bool visible) |
| void | SetLabelText (string text) |
| string | GetLabelText () |
| void | SetVisible (bool visible, bool animate=false, float rate=UIConstants.FADE_RATE_FAST) |
| SCR_ModularButtonComponent | GetButton () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| override bool | OnClick (Widget w, int x, int y, int button) |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Public Attributes | |
| string | m_sIconName |
| bool | m_bShowCount |
| string | m_sLabel |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Protected Attributes | |
| Widget | m_wButtonWidget |
| SCR_ModularButtonComponent | m_ButtonComponent |
| ImageWidget | m_wIcon |
| Widget | m_wCountIconFrame |
| TextWidget | m_wCountText |
| TextWidget | m_wLabel |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
Static Protected Attributes | |
| const string | BUTTON = "CoreMenuHeaderButton" |
| const string | COUNT_ICON_FRAME = "CountIconFrame" |
| const string | COUNT_TEXT = "CountText" |
| const string | ICON = "Icon" |
| const string | LABEL = "ButtonLabel" |
Additional Inherited Members | |
Static Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
| Base method for component lookup through the widget library. | |
Helper component for core menu header button prefabs.
| SCR_ModularButtonComponent SCR_CoreMenuHeaderButtonComponent.GetButton | ( | ) |
| string SCR_CoreMenuHeaderButtonComponent.GetLabelText | ( | ) |
| override void SCR_CoreMenuHeaderButtonComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_ScriptedWidgetComponent.
Implemented in SCR_ConnectionStateButtonComponent.
| void SCR_CoreMenuHeaderButtonComponent.SetCountText | ( | string | text | ) |
| [in] | text |
| void SCR_CoreMenuHeaderButtonComponent.SetCountVisible | ( | bool | visible | ) |
| [in] | visible |
| void SCR_CoreMenuHeaderButtonComponent.SetIcon | ( | string | name | ) |
| [in] | name |
| void SCR_CoreMenuHeaderButtonComponent.SetLabelText | ( | string | text | ) |
| [in] | text |
| void SCR_CoreMenuHeaderButtonComponent.SetVisible | ( | bool | visible, |
| bool | animate = false, | ||
| float | rate = UIConstants::FADE_RATE_FAST ) |
| [in] | visible | |
| [in] | animate | |
| [in] | rate |
Implemented in SCR_ConnectionStateButtonComponent.
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
|
staticprotected |
| bool SCR_CoreMenuHeaderButtonComponent.m_bShowCount |
|
protected |
| string SCR_CoreMenuHeaderButtonComponent.m_sIconName |
| string SCR_CoreMenuHeaderButtonComponent.m_sLabel |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |