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

Public Member Functions

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 Member Functions

void OnEntryIconChange (SCR_SelectionMenuEntry entry, ResourceName texture, string image)
 
- Protected Member Functions inherited from SCR_SelectionMenuEntryComponent
void InvokeOnMouseEnter ()
 
void InvokeOnMouseLeave ()
 
void InvokeOnClick ()
 

Protected Attributes

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
 

Member Function Documentation

◆ GetAltColor()

Color SCR_SelectionMenuEntryIconComponent.GetAltColor ( )

◆ HandlerAttached()

override void SCR_SelectionMenuEntryIconComponent.HandlerAttached ( Widget  w)

◆ OnEntryIconChange()

void SCR_SelectionMenuEntryIconComponent.OnEntryIconChange ( SCR_SelectionMenuEntry  entry,
ResourceName  texture,
string  image 
)
protected

◆ SetEntry()

override void SCR_SelectionMenuEntryIconComponent.SetEntry ( SCR_SelectionMenuEntry  entry)

Set entry holding data driving this visuals.

Implements SCR_SelectionMenuEntryComponent.

◆ SetIconColor()

void SCR_SelectionMenuEntryIconComponent.SetIconColor ( Color  color = null)

◆ SetImage()

void SCR_SelectionMenuEntryIconComponent.SetImage ( ResourceName  texture,
string  image 
)

◆ SetLayoutSize()

void SCR_SelectionMenuEntryIconComponent.SetLayoutSize ( float  size)

Member Data Documentation

◆ m_cAltColor

ref Color SCR_SelectionMenuEntryIconComponent.m_cAltColor
protected

◆ m_cDefaultColor

ref Color SCR_SelectionMenuEntryIconComponent.m_cDefaultColor
protected

◆ m_sIcon

string SCR_SelectionMenuEntryIconComponent.m_sIcon
protected

◆ m_sImage

string SCR_SelectionMenuEntryIconComponent.m_sImage
protected

◆ m_sTexture

ResourceName SCR_SelectionMenuEntryIconComponent.m_sTexture
protected

◆ m_wIcon

ImageWidget SCR_SelectionMenuEntryIconComponent.m_wIcon
protected

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