Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_LabelComponent Class Reference
Inheritance diagram for SCR_LabelComponent:
SCR_ScriptedWidgetComponent

Protected Member Functions

override void HandlerAttached (Widget w)
void SetText (string text)
void SetTopPadding (float padding)
void ResetTopPadding ()
void SetVisible (bool visible)

Static Protected Member Functions

static SCR_LabelComponent FindLabelComponent (notnull Widget w)
static SCR_LabelComponent GetComponent (string name, Widget parent, bool searchAllChildren=true)

Protected Attributes

string m_sLabel
float m_fPaddingTop
TextWidget m_wLabelWidget

Detailed Description

Definition at line 1 of file SCR_LabelComponent.c.

Member Function Documentation

◆ FindLabelComponent()

SCR_LabelComponent SCR_LabelComponent::FindLabelComponent ( notnull Widget w)
inlinestaticprotected

Definition at line 57 of file SCR_LabelComponent.c.

◆ GetComponent()

SCR_LabelComponent SCR_LabelComponent::GetComponent ( string name,
Widget parent,
bool searchAllChildren = true )
inlinestaticprotected

Static method to easily find component by providing name and parent. Searching all children will go through whole hierarchy, instead of immediate chidren

Definition at line 65 of file SCR_LabelComponent.c.

◆ HandlerAttached()

override void SCR_LabelComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 12 of file SCR_LabelComponent.c.

◆ ResetTopPadding()

void SCR_LabelComponent::ResetTopPadding ( )
inlineprotected

Definition at line 42 of file SCR_LabelComponent.c.

◆ SetText()

void SCR_LabelComponent::SetText ( string text)
inlineprotected

Definition at line 25 of file SCR_LabelComponent.c.

◆ SetTopPadding()

void SCR_LabelComponent::SetTopPadding ( float padding)
inlineprotected

Definition at line 31 of file SCR_LabelComponent.c.

◆ SetVisible()

void SCR_LabelComponent::SetVisible ( bool visible)
inlineprotected

Definition at line 48 of file SCR_LabelComponent.c.

Member Data Documentation

◆ m_fPaddingTop

float SCR_LabelComponent::m_fPaddingTop
protected

Definition at line 7 of file SCR_LabelComponent.c.

◆ m_sLabel

string SCR_LabelComponent::m_sLabel
protected

Definition at line 4 of file SCR_LabelComponent.c.

◆ m_wLabelWidget

TextWidget SCR_LabelComponent::m_wLabelWidget
protected

Definition at line 9 of file SCR_LabelComponent.c.


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