Arma Reforger Script API
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
SCR_SelectionMenuEntryCommandComponent Interface Reference
Inheritance diagram for SCR_SelectionMenuEntryCommandComponent:
[legend]

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_SelectionMenuEntryComponentm_OnMouseEnter
 
ref ScriptInvoker< SCR_SelectionMenuEntryComponentm_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 ()
 

Member Function Documentation

◆ HandlerAttached()

override void SCR_SelectionMenuEntryCommandComponent.HandlerAttached ( Widget  w)

◆ SetCommandText()

void SCR_SelectionMenuEntryCommandComponent.SetCommandText ( string  text)

Member Data Documentation

◆ m_sCommandText

string SCR_SelectionMenuEntryCommandComponent.m_sCommandText
protected

◆ m_wCommandText

TextWidget SCR_SelectionMenuEntryCommandComponent.m_wCommandText
protected

The documentation for this interface was generated from the following file: