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

Public Member Functions

void ButtonDescriptionInit (SCR_ButtonBoxAttributeUIComponent attributeUIComponent, SCR_ButtonBaseComponent button, string buttonDescription, string buttonName=string.Empty)
 Init the button setting references, description and events.
 
override bool OnMouseEnter (Widget w, int x, int y)
 
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
 

Protected Member Functions

void OnButtonFocus (SCR_ButtonBaseComponent button, bool value)
 
void OnMouseLeaveDelay ()
 

Protected Attributes

SCR_ButtonBoxAttributeUIComponent m_AttributeUIComponent
 
string m_sButtonDescription
 
bool m_bIsFocused
 
bool m_bListeningToMouseLeft
 
bool m_FocusUpdateBlocked
 

Static Protected Attributes

const int MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY = 50
 

Member Function Documentation

◆ ButtonDescriptionInit()

void SCR_AttributeButtonUIComponent.ButtonDescriptionInit ( SCR_ButtonBoxAttributeUIComponent  attributeUIComponent,
SCR_ButtonBaseComponent  button,
string  buttonDescription,
string  buttonName = string::Empty 
)

Init the button setting references, description and events.

Parameters
attributeUIComponentref to attribute UI it is part of
buttonbutton component on it
buttonDescriptionbutton description to display
buttonName%1 in button description

◆ OnButtonFocus()

void SCR_AttributeButtonUIComponent.OnButtonFocus ( SCR_ButtonBaseComponent  button,
bool  value 
)
protected

◆ OnMouseEnter()

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

◆ OnMouseLeave()

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

◆ OnMouseLeaveDelay()

void SCR_AttributeButtonUIComponent.OnMouseLeaveDelay ( )
protected

Member Data Documentation

◆ m_AttributeUIComponent

SCR_ButtonBoxAttributeUIComponent SCR_AttributeButtonUIComponent.m_AttributeUIComponent
protected

◆ m_bIsFocused

bool SCR_AttributeButtonUIComponent.m_bIsFocused
protected

◆ m_bListeningToMouseLeft

bool SCR_AttributeButtonUIComponent.m_bListeningToMouseLeft
protected

◆ m_FocusUpdateBlocked

bool SCR_AttributeButtonUIComponent.m_FocusUpdateBlocked
protected

◆ m_sButtonDescription

string SCR_AttributeButtonUIComponent.m_sButtonDescription
protected

◆ MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY

const int SCR_AttributeButtonUIComponent.MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY = 50
staticprotected

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