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

Protected Member Functions

override void HandlerAttached (Widget w)
override void SetToggled (bool toggled, bool animate=true, bool invokeChange=true, bool instant=false)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
void ColorizeText (bool animate=true)
void SetText (string text)
void SetTextWithParam (string text, string param1, string param2)
string GetText ()
TextWidget GetTextWidget ()
ScriptInvokerVoid GetOnMouseEnter ()
ScriptInvokerVoid GetOnMouseLeave ()

Static Protected Member Functions

static SCR_ButtonTextComponent GetButtonText (string name, Widget parent, bool searchAllChildren=true)
static SCR_ButtonTextComponent FindButtonTextComponent (notnull Widget w)

Protected Attributes

LocalizedString m_sTextWidgetName
LocalizedString m_sText
bool m_bUseTextColorization
ref Color m_TextDefault
ref Color m_TextToggled
TextWidget m_wText
ref ScriptInvokerVoid m_OnMouseEnter
ref ScriptInvokerVoid m_OnMouseLeave

Detailed Description

Definition at line 2 of file SCR_ButtonTextComponent.c.

Member Function Documentation

◆ ColorizeText()

void SCR_ButtonTextComponent::ColorizeText ( bool animate = true)
inlineprotected

Definition at line 62 of file SCR_ButtonTextComponent.c.

◆ FindButtonTextComponent()

SCR_ButtonTextComponent SCR_ButtonTextComponent::FindButtonTextComponent ( notnull Widget w)
inlinestaticprotected

Definition at line 141 of file SCR_ButtonTextComponent.c.

◆ GetButtonText()

SCR_ButtonTextComponent SCR_ButtonTextComponent::GetButtonText ( string name,
Widget parent,
bool searchAllChildren = true )
inlinestaticprotected

Definition at line 132 of file SCR_ButtonTextComponent.c.

◆ GetOnMouseEnter()

ScriptInvokerVoid SCR_ButtonTextComponent::GetOnMouseEnter ( )
inlineprotected

Definition at line 114 of file SCR_ButtonTextComponent.c.

◆ GetOnMouseLeave()

ScriptInvokerVoid SCR_ButtonTextComponent::GetOnMouseLeave ( )
inlineprotected

Definition at line 123 of file SCR_ButtonTextComponent.c.

◆ GetText()

string SCR_ButtonTextComponent::GetText ( )
inlineprotected

Definition at line 102 of file SCR_ButtonTextComponent.c.

◆ GetTextWidget()

TextWidget SCR_ButtonTextComponent::GetTextWidget ( )
inlineprotected

Definition at line 108 of file SCR_ButtonTextComponent.c.

◆ HandlerAttached()

override void SCR_ButtonTextComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 25 of file SCR_ButtonTextComponent.c.

◆ OnMouseEnter()

override bool SCR_ButtonTextComponent::OnMouseEnter ( Widget w,
int x,
int y )
inlineprotected

Definition at line 44 of file SCR_ButtonTextComponent.c.

◆ OnMouseLeave()

override bool SCR_ButtonTextComponent::OnMouseLeave ( Widget w,
Widget enterW,
int x,
int y )
inlineprotected

Definition at line 53 of file SCR_ButtonTextComponent.c.

◆ SetText()

void SCR_ButtonTextComponent::SetText ( string text)
inlineprotected

Definition at line 83 of file SCR_ButtonTextComponent.c.

◆ SetTextWithParam()

void SCR_ButtonTextComponent::SetTextWithParam ( string text,
string param1,
string param2 )
inlineprotected

Definition at line 94 of file SCR_ButtonTextComponent.c.

◆ SetToggled()

override void SCR_ButtonTextComponent::SetToggled ( bool toggled,
bool animate = true,
bool invokeChange = true,
bool instant = false )
inlineprotected

Definition at line 34 of file SCR_ButtonTextComponent.c.

Member Data Documentation

◆ m_bUseTextColorization

bool SCR_ButtonTextComponent::m_bUseTextColorization
protected

Definition at line 11 of file SCR_ButtonTextComponent.c.

◆ m_OnMouseEnter

ref ScriptInvokerVoid SCR_ButtonTextComponent::m_OnMouseEnter
protected

Definition at line 21 of file SCR_ButtonTextComponent.c.

◆ m_OnMouseLeave

ref ScriptInvokerVoid SCR_ButtonTextComponent::m_OnMouseLeave
protected

Definition at line 22 of file SCR_ButtonTextComponent.c.

◆ m_sText

LocalizedString SCR_ButtonTextComponent::m_sText
protected

Definition at line 8 of file SCR_ButtonTextComponent.c.

◆ m_sTextWidgetName

LocalizedString SCR_ButtonTextComponent::m_sTextWidgetName
protected

Definition at line 5 of file SCR_ButtonTextComponent.c.

◆ m_TextDefault

ref Color SCR_ButtonTextComponent::m_TextDefault
protected

Definition at line 14 of file SCR_ButtonTextComponent.c.

◆ m_TextToggled

ref Color SCR_ButtonTextComponent::m_TextToggled
protected

Definition at line 17 of file SCR_ButtonTextComponent.c.

◆ m_wText

TextWidget SCR_ButtonTextComponent::m_wText
protected

Definition at line 19 of file SCR_ButtonTextComponent.c.


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