Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
void | SetCommandText (string text) |
Public Member Functions inherited from SCR_SelectionMenuEntryIconComponent | |
override void | HandlerAttached (Widget w) |
override void | SetEntry (SCR_SelectionMenuEntry entry) |
Set entry holding data driving this visuals. | |
void | SetImage (ResourceName texture, string image) |
void | SetLayoutSize (float size) |
void | SetIconColor (Color color=null) |
Color | GetAltColor () |
Public Member Functions inherited from SCR_SelectionMenuEntryComponent | |
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 | |
override void | HandlerAttached (Widget w) |
override bool | OnClick (Widget w, int x, int y, int button) |
Widget | GetRootWidget () |
bool | IsVisible () |
Protected Attributes | |
string | m_sCommandText |
TextWidget | m_wCommandText |
Protected Attributes inherited from SCR_SelectionMenuEntryIconComponent | |
string | m_sIcon |
ref Color | m_cDefaultColor |
ref Color | m_cAltColor |
ImageWidget | m_wIcon |
ResourceName | m_sTexture |
string | m_sImage |
Protected Attributes inherited from SCR_SelectionMenuEntryComponent | |
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 |
Protected Member Functions inherited from SCR_SelectionMenuEntryIconComponent | |
void | OnEntryIconChange (SCR_SelectionMenuEntry entry, ResourceName texture, string image) |
Protected Member Functions inherited from SCR_SelectionMenuEntryComponent | |
void | InvokeOnMouseEnter () |
void | InvokeOnMouseLeave () |
void | InvokeOnClick () |
override void SCR_SelectionMenuEntryCommandComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_SelectionMenuEntryIconComponent.
void SCR_SelectionMenuEntryCommandComponent.SetCommandText | ( | string | text | ) |
|
protected |
|
protected |