|
Arma Reforger Script API
|
Base widget component for selection menu entries Handles mainly mouse interaction with the entry layout. More...
Public Member Functions | |
| ScriptInvoker | GetOnMouseEnter () |
| ScriptInvoker | GetOnMouseLeave () |
| ScriptInvoker | GetOnClick () |
| override void | HandlerAttached (Widget w) |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| override bool | OnClick (Widget w, int x, int y, int button) |
| void | SetEnabled (bool enabled) |
| float | GetLayoutSize () |
| void | SetEntry (SCR_SelectionMenuEntry entry) |
| Set entry holding data driving this visuals. | |
| void | SetEntryText (string str) |
| float | GetOriginalSize () |
| float | GetAdjustedSize () |
Public Member Functions inherited from SCR_ScriptedWidgetComponent | |
| Widget | GetRootWidget () |
| bool | IsVisible () |
Protected Member Functions | |
| void | InvokeOnMouseEnter () |
| void | InvokeOnMouseLeave () |
| void | InvokeOnClick () |
Protected Attributes | |
| float | m_fDisabledOpacity |
| string | m_sSizeLayout |
| string | m_sEntryText |
| SCR_SelectionMenuEntry | m_Entry |
| bool | m_bEnabled = true |
| float | m_fOriginalSize |
| float | m_fAdjustedSize |
| Widget | m_wSizeLayout |
| TextWidget | m_wEntryText |
| ref ScriptInvoker< SCR_SelectionMenuEntryComponent > | m_OnMouseEnter |
| ref ScriptInvoker< SCR_SelectionMenuEntryComponent > | m_OnMouseLeave |
Protected Attributes inherited from SCR_ScriptedWidgetComponent | |
| Widget | m_wRoot |
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. | |
Public Attributes inherited from SCR_ScriptedWidgetComponent | |
| ref ScriptInvoker | m_OnClick = new ScriptInvoker |
Base widget component for selection menu entries Handles mainly mouse interaction with the entry layout.
| float SCR_SelectionMenuEntryComponent.GetAdjustedSize | ( | ) |
| float SCR_SelectionMenuEntryComponent.GetLayoutSize | ( | ) |
| ScriptInvoker SCR_SelectionMenuEntryComponent.GetOnClick | ( | ) |
| ScriptInvoker SCR_SelectionMenuEntryComponent.GetOnMouseEnter | ( | ) |
| ScriptInvoker SCR_SelectionMenuEntryComponent.GetOnMouseLeave | ( | ) |
| float SCR_SelectionMenuEntryComponent.GetOriginalSize | ( | ) |
| override void SCR_SelectionMenuEntryComponent.HandlerAttached | ( | Widget | w | ) |
|
protected |
|
protected |
|
protected |
| override bool SCR_SelectionMenuEntryComponent.OnClick | ( | Widget | w, |
| int | x, | ||
| int | y, | ||
| int | button ) |
Implements SCR_ScriptedWidgetComponent.
| override bool SCR_SelectionMenuEntryComponent.OnMouseEnter | ( | Widget | w, |
| int | x, | ||
| int | y ) |
| override bool SCR_SelectionMenuEntryComponent.OnMouseLeave | ( | Widget | w, |
| Widget | enterW, | ||
| int | x, | ||
| int | y ) |
| void SCR_SelectionMenuEntryComponent.SetEnabled | ( | bool | enabled | ) |
| void SCR_SelectionMenuEntryComponent.SetEntry | ( | SCR_SelectionMenuEntry | entry | ) |
Set entry holding data driving this visuals.
Implemented in SCR_SelectionMenuEntryIconComponent.
| void SCR_SelectionMenuEntryComponent.SetEntryText | ( | string | str | ) |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |