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

Protected Member Functions

void ButtonDescriptionInit (SCR_ButtonBoxAttributeUIComponent attributeUIComponent, SCR_ButtonBaseComponent button, string buttonDescription, string buttonName=string.Empty)
void OnButtonFocus (SCR_ButtonBaseComponent button, bool value)
override bool OnMouseEnter (Widget w, int x, int y)
override bool OnMouseLeave (Widget w, Widget enterW, int x, int y)
void OnMouseLeaveDelay ()

Protected Attributes

SCR_ButtonBoxAttributeUIComponent m_AttributeUIComponent
string m_sButtonDescription
bool m_bIsFocused
bool m_bListeningToMouseLeft
bool m_FocusUpdateBlocked
const int MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY = 50

Detailed Description

Definition at line 1 of file SCR_AttributeButtonUIComponent.c.

Member Function Documentation

◆ ButtonDescriptionInit()

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

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

Definition at line 20 of file SCR_AttributeButtonUIComponent.c.

◆ OnButtonFocus()

void SCR_AttributeButtonUIComponent::OnButtonFocus ( SCR_ButtonBaseComponent button,
bool value )
inlineprotected

Definition at line 32 of file SCR_AttributeButtonUIComponent.c.

◆ OnMouseEnter()

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

Definition at line 38 of file SCR_AttributeButtonUIComponent.c.

◆ OnMouseLeave()

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

Definition at line 51 of file SCR_AttributeButtonUIComponent.c.

◆ OnMouseLeaveDelay()

void SCR_AttributeButtonUIComponent::OnMouseLeaveDelay ( )
inlineprotected

Definition at line 64 of file SCR_AttributeButtonUIComponent.c.

Member Data Documentation

◆ m_AttributeUIComponent

SCR_ButtonBoxAttributeUIComponent SCR_AttributeButtonUIComponent::m_AttributeUIComponent
protected

Definition at line 3 of file SCR_AttributeButtonUIComponent.c.

◆ m_bIsFocused

bool SCR_AttributeButtonUIComponent::m_bIsFocused
protected

Definition at line 7 of file SCR_AttributeButtonUIComponent.c.

◆ m_bListeningToMouseLeft

bool SCR_AttributeButtonUIComponent::m_bListeningToMouseLeft
protected

Definition at line 8 of file SCR_AttributeButtonUIComponent.c.

◆ m_FocusUpdateBlocked

bool SCR_AttributeButtonUIComponent::m_FocusUpdateBlocked
protected

Definition at line 9 of file SCR_AttributeButtonUIComponent.c.

◆ m_sButtonDescription

string SCR_AttributeButtonUIComponent::m_sButtonDescription
protected

Definition at line 5 of file SCR_AttributeButtonUIComponent.c.

◆ MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY

const int SCR_AttributeButtonUIComponent::MOUSE_LEFT_REMOVE_DESCRIPTION_DELAY = 50
protected

Definition at line 11 of file SCR_AttributeButtonUIComponent.c.


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