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

Protected Member Functions

override void HandlerAttached (Widget w)
override bool OnClick (Widget w, int x, int y, int button)
void SetOnClickSound (string newOnClickedSound)
override bool OnMouseButtonDown (Widget w, int x, int y, int button)
override bool OnMouseButtonUp (Widget w, int x, int y, int button)
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)

Protected Attributes

ref Color m_ColorButtonDefault
ref Color m_ColorButtonFocused
ref Color m_ColorButtonPressed
ref Color m_ColorButtonDisabled
bool m_bColorizeChildren
ref Color m_ColorChildDefault
ref Color m_ColorChildFocused
ref Color m_ColorChildPressed
ref Color m_ColorChildDisabled
float m_fAnimationLength
string m_sSoundClicked
string m_sSoundFocused
Widget m_wChild
bool m_bIsFocused = false

Detailed Description

Definition at line 9 of file SimpleButtonComponent.c.

Member Function Documentation

◆ HandlerAttached()

override void SimpleButtonComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 52 of file SimpleButtonComponent.c.

◆ OnClick()

override bool SimpleButtonComponent::OnClick ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 72 of file SimpleButtonComponent.c.

◆ OnFocus()

override bool SimpleButtonComponent::OnFocus ( Widget w,
int x,
int y )
inlineprotected

Definition at line 114 of file SimpleButtonComponent.c.

◆ OnFocusLost()

override bool SimpleButtonComponent::OnFocusLost ( Widget w,
int x,
int y )
inlineprotected

Definition at line 136 of file SimpleButtonComponent.c.

◆ OnMouseButtonDown()

override bool SimpleButtonComponent::OnMouseButtonDown ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 85 of file SimpleButtonComponent.c.

◆ OnMouseButtonUp()

override bool SimpleButtonComponent::OnMouseButtonUp ( Widget w,
int x,
int y,
int button )
inlineprotected

Definition at line 95 of file SimpleButtonComponent.c.

◆ OnMouseEnter()

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

Definition at line 157 of file SimpleButtonComponent.c.

◆ OnMouseLeave()

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

Definition at line 168 of file SimpleButtonComponent.c.

◆ SetOnClickSound()

void SimpleButtonComponent::SetOnClickSound ( string newOnClickedSound)
inlineprotected

Definition at line 79 of file SimpleButtonComponent.c.

Member Data Documentation

◆ m_bColorizeChildren

bool SimpleButtonComponent::m_bColorizeChildren
protected

Definition at line 24 of file SimpleButtonComponent.c.

◆ m_bIsFocused

bool SimpleButtonComponent::m_bIsFocused = false
protected

Definition at line 49 of file SimpleButtonComponent.c.

◆ m_ColorButtonDefault

ref Color SimpleButtonComponent::m_ColorButtonDefault
protected

Definition at line 12 of file SimpleButtonComponent.c.

◆ m_ColorButtonDisabled

ref Color SimpleButtonComponent::m_ColorButtonDisabled
protected

Definition at line 21 of file SimpleButtonComponent.c.

◆ m_ColorButtonFocused

ref Color SimpleButtonComponent::m_ColorButtonFocused
protected

Definition at line 15 of file SimpleButtonComponent.c.

◆ m_ColorButtonPressed

ref Color SimpleButtonComponent::m_ColorButtonPressed
protected

Definition at line 18 of file SimpleButtonComponent.c.

◆ m_ColorChildDefault

ref Color SimpleButtonComponent::m_ColorChildDefault
protected

Definition at line 27 of file SimpleButtonComponent.c.

◆ m_ColorChildDisabled

ref Color SimpleButtonComponent::m_ColorChildDisabled
protected

Definition at line 36 of file SimpleButtonComponent.c.

◆ m_ColorChildFocused

ref Color SimpleButtonComponent::m_ColorChildFocused
protected

Definition at line 30 of file SimpleButtonComponent.c.

◆ m_ColorChildPressed

ref Color SimpleButtonComponent::m_ColorChildPressed
protected

Definition at line 33 of file SimpleButtonComponent.c.

◆ m_fAnimationLength

float SimpleButtonComponent::m_fAnimationLength
protected

Definition at line 39 of file SimpleButtonComponent.c.

◆ m_sSoundClicked

string SimpleButtonComponent::m_sSoundClicked
protected

Definition at line 42 of file SimpleButtonComponent.c.

◆ m_sSoundFocused

string SimpleButtonComponent::m_sSoundFocused
protected

Definition at line 45 of file SimpleButtonComponent.c.

◆ m_wChild

Widget SimpleButtonComponent::m_wChild
protected

Definition at line 48 of file SimpleButtonComponent.c.


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