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

Public Member Functions

override void HandlerAttached (Widget w)
 
void SetText (string text)
 
void SetTopPadding (float padding)
 
void ResetTopPadding ()
 
void SetVisible (bool visible)
 
- 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 ()
 

Static Public Member Functions

static SCR_LabelComponent FindLabelComponent (notnull Widget w)
 
static SCR_LabelComponent GetComponent (string name, Widget parent, bool searchAllChildren=true)
 Static method to easily find component by providing name and parent.
 
- 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.
 

Protected Attributes

string m_sLabel
 
float m_fPaddingTop
 
TextWidget m_wLabelWidget
 
- Protected Attributes inherited from SCR_ScriptedWidgetComponent
Widget m_wRoot
 

Additional Inherited Members

- Public Attributes inherited from SCR_ScriptedWidgetComponent
ref ScriptInvoker m_OnClick = new ScriptInvoker
 

Member Function Documentation

◆ FindLabelComponent()

static SCR_LabelComponent SCR_LabelComponent.FindLabelComponent ( notnull Widget  w)
static

◆ GetComponent()

static SCR_LabelComponent SCR_LabelComponent.GetComponent ( string  name,
Widget  parent,
bool  searchAllChildren = true 
)
static

Static method to easily find component by providing name and parent.

Searching all children will go through whole hierarchy, instead of immediate chidren

◆ HandlerAttached()

override void SCR_LabelComponent.HandlerAttached ( Widget  w)

◆ ResetTopPadding()

void SCR_LabelComponent.ResetTopPadding ( )

◆ SetText()

void SCR_LabelComponent.SetText ( string  text)

◆ SetTopPadding()

void SCR_LabelComponent.SetTopPadding ( float  padding)

◆ SetVisible()

void SCR_LabelComponent.SetVisible ( bool  visible)

Member Data Documentation

◆ m_fPaddingTop

float SCR_LabelComponent.m_fPaddingTop
protected

◆ m_sLabel

string SCR_LabelComponent.m_sLabel
protected

◆ m_wLabelWidget

TextWidget SCR_LabelComponent.m_wLabelWidget
protected

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