Arma Reforger Script API
|
Public Member Functions | |
override void | HandlerAttached (Widget w) |
void | SetPreviewItem (IEntity item) |
Prepare preview item and render given entity. | |
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 Member Functions | |
void | SetupPreviewAttributes (out PreviewRenderAttributes preview) |
Find and setup preview attributes that should be used in previwe. | |
Protected Member Functions inherited from SCR_SelectionMenuEntryComponent | |
void | InvokeOnMouseEnter () |
void | InvokeOnMouseLeave () |
void | InvokeOnClick () |
Protected Attributes | |
string | m_sPreviewItem |
string | m_sItemShadow |
string | m_sFallbackIcon |
ref Color | m_DefaulItemColor |
ref Color | m_MedicalItemColor |
ItemPreviewWidget | m_wPreviewItem |
ImageWidget | m_wItemShadow |
ImageWidget | m_wFallbackIcon |
IEntity | m_Item |
PreviewRenderAttributes | m_PreviewAttributes |
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 |
Static Protected Attributes | |
const float | DEFAULT_FOV = 10 |
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 |
override void SCR_SelectionMenuEntryPreviewComponent.HandlerAttached | ( | Widget | w | ) |
Implements SCR_SelectionMenuEntryComponent.
void SCR_SelectionMenuEntryPreviewComponent.SetPreviewItem | ( | IEntity | item | ) |
Prepare preview item and render given entity.
|
protected |
Find and setup preview attributes that should be used in previwe.
|
staticprotected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |