Arma Reforger Script API
Loading...
Searching...
No Matches
BasicButtonComponent Interface Reference
Inheritance diagram for BasicButtonComponent:
SCR_InventoryButton

Public Member Functions

override void HandlerAttached (Widget w)
 
override bool OnClick (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)
 

Static Public Attributes

static const ref Color COLOR_DEFAULT = new Color(0, 0, 0, 0.6)
 
static const ref Color COLOR_FOCUSED = new Color(1, 1, 1, 0.06)
 
static const ref Color COLOR_HOVERED = new Color(1, 1, 1, 0.06)
 
static const ref Color COLOR_PRESSED = new Color(0.8, 0.8, 0.8, 0.06)
 

Protected Attributes

string m_sSoundFocused
 
string m_sSoundClicked
 

Member Function Documentation

◆ HandlerAttached()

override void BasicButtonComponent.HandlerAttached ( Widget w)

Implemented in SCR_InventoryButton.

◆ OnClick()

override bool BasicButtonComponent.OnClick ( Widget w,
int x,
int y,
int button )

Implemented in SCR_InventoryButton.

◆ OnFocus()

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

Implemented in SCR_InventoryButton.

◆ OnFocusLost()

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

Implemented in SCR_InventoryButton.

◆ OnMouseEnter()

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

Member Data Documentation

◆ COLOR_DEFAULT

const ref Color BasicButtonComponent.COLOR_DEFAULT = new Color(0, 0, 0, 0.6)
static

◆ COLOR_FOCUSED

const ref Color BasicButtonComponent.COLOR_FOCUSED = new Color(1, 1, 1, 0.06)
static

◆ COLOR_HOVERED

const ref Color BasicButtonComponent.COLOR_HOVERED = new Color(1, 1, 1, 0.06)
static

◆ COLOR_PRESSED

const ref Color BasicButtonComponent.COLOR_PRESSED = new Color(0.8, 0.8, 0.8, 0.06)
static

◆ m_sSoundClicked

string BasicButtonComponent.m_sSoundClicked
protected

◆ m_sSoundFocused

string BasicButtonComponent.m_sSoundFocused
protected

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