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

Public Member Functions

override void HandlerDeattached (Widget w)
 
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)
 
- Public Member Functions inherited from SimpleButtonComponent
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_ColorButtonHovered
 
ref Color m_ColorButtonHoveredFocused
 
ref Color m_ColorChildHovered
 
ref Color m_ColorChildHoveredFocused
 
string m_sSoundHovered
 
bool m_bIsHovered = false
 
- Protected Attributes inherited from SimpleButtonComponent
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
 

Member Function Documentation

◆ HandlerDeattached()

override void ButtonComponent.HandlerDeattached ( Widget  w)

◆ OnFocus()

override bool ButtonComponent.OnFocus ( Widget  w,
int  x,
int  y 
)

Implements SimpleButtonComponent.

◆ OnFocusLost()

override bool ButtonComponent.OnFocusLost ( Widget  w,
int  x,
int  y 
)

Implements SimpleButtonComponent.

◆ OnMouseButtonUp()

override bool ButtonComponent.OnMouseButtonUp ( Widget  w,
int  x,
int  y,
int  button 
)

Implements SimpleButtonComponent.

◆ OnMouseEnter()

override bool ButtonComponent.OnMouseEnter ( Widget  w,
int  x,
int  y 
)

Implements SimpleButtonComponent.

◆ OnMouseLeave()

override bool ButtonComponent.OnMouseLeave ( Widget  w,
Widget  enterW,
int  x,
int  y 
)

Implements SimpleButtonComponent.

Member Data Documentation

◆ m_bIsHovered

bool ButtonComponent.m_bIsHovered = false
protected

◆ m_ColorButtonHovered

ref Color ButtonComponent.m_ColorButtonHovered
protected

◆ m_ColorButtonHoveredFocused

ref Color ButtonComponent.m_ColorButtonHoveredFocused
protected

◆ m_ColorChildHovered

ref Color ButtonComponent.m_ColorChildHovered
protected

◆ m_ColorChildHoveredFocused

ref Color ButtonComponent.m_ColorChildHoveredFocused
protected

◆ m_sSoundHovered

string ButtonComponent.m_sSoundHovered
protected

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