Arma Reforger Explorer 1.7.0.54
Arma Reforger Code Explorer by Zeroy - Thanks to MisterOutofTime
Loading...
Searching...
No Matches
SCR_SpinBoxComponent Class Reference
Inheritance diagram for SCR_SpinBoxComponent:
SCR_SelectionWidgetComponent SCR_InventorySpinBoxComponent SCR_SpawnPointSpinBox SCR_TutorialFastTravelSpinBox

Protected Member Functions

override void HandlerAttached (Widget w)
override bool OnFocus (Widget w, int x, int y)
override bool OnFocusLost (Widget w, int x, int y)
override int AddItem (string item, bool last=false, Managed data=null)
override void RemoveItem (int item, bool last=false)
override void ClearAll ()
override bool SetCurrentItem (int i, bool playSound=false, bool animate=false)
bool SetCurrentItem_Internal (int i, bool playSound, bool animate, bool invokeOnChanged)
void CreateHintBar ()
void UpdateHintBar (int currentIndex, int oldIndex)
void SetInitialState (bool invokeOnChanged=true)
void EnableArrows (int selected, bool animate)
 Based on cycle mode set which arrow should be enabled at given selection.
void OnLeftArrowClick ()
void OnRightArrowClick ()
void OnMenuLeft ()
void OnMenuRight ()
void AddActionListeners ()
void RemoveActionListeners ()
void SetKeepActionListeners (bool keep)
void SetCycleMode (bool cycle)
ScriptInvoker GetOnLeftArrowClick ()
ScriptInvoker GetOnRightArrowClick ()

Static Protected Member Functions

static SCR_SpinBoxComponent GetSpinBoxComponent (string name, Widget parent, bool searchAllChildren=true)

Protected Attributes

SCR_PagingButtonComponent m_ButtonLeft
SCR_PagingButtonComponent m_ButtonRight
TextWidget m_wText
Widget m_wContent
Widget m_wCountBar
ref array< Widgetm_aHintElements = new array<Widget>()
bool m_bUseLightArrows
bool m_bCycleMode
bool m_bShowHints
float m_fHintElementWidth
float m_fHintElementHeight
float m_fHintSelectedWidthMultiplier
bool m_fHintFillMode
float m_fHintSpacing
ResourceName m_sHintElementTexture
ResourceName m_sHintElementImage
string m_sHintBarElementName
ref ScriptInvoker m_OnLeftArrowClick
ref ScriptInvoker m_OnRightArrowClick
bool m_bHasActionListeners
bool m_bAllowSwitchingWithoutFocus

Static Protected Attributes

static const ref Color COLOR_HINT_SELECTED = UIColors.CONTRAST_COLOR
static const ref Color COLOR_HINT_DESELECTED = UIColors.WHITE_HOVERED

Detailed Description

Definition at line 1 of file SCR_SpinBoxComponent.c.

Member Function Documentation

◆ AddActionListeners()

void SCR_SpinBoxComponent::AddActionListeners ( )
inlineprotected

Definition at line 331 of file SCR_SpinBoxComponent.c.

◆ AddItem()

override int SCR_SpinBoxComponent::AddItem ( string item,
bool last = false,
Managed data = null )
inlineprotected

Definition at line 119 of file SCR_SpinBoxComponent.c.

◆ ClearAll()

override void SCR_SpinBoxComponent::ClearAll ( )
inlineprotected

Definition at line 135 of file SCR_SpinBoxComponent.c.

◆ CreateHintBar()

void SCR_SpinBoxComponent::CreateHintBar ( )
inlineprotected

Definition at line 170 of file SCR_SpinBoxComponent.c.

◆ EnableArrows()

void SCR_SpinBoxComponent::EnableArrows ( int selected,
bool animate )
inlineprotected

Based on cycle mode set which arrow should be enabled at given selection.

Definition at line 248 of file SCR_SpinBoxComponent.c.

◆ GetOnLeftArrowClick()

ScriptInvoker SCR_SpinBoxComponent::GetOnLeftArrowClick ( )
inlineprotected

Definition at line 369 of file SCR_SpinBoxComponent.c.

◆ GetOnRightArrowClick()

ScriptInvoker SCR_SpinBoxComponent::GetOnRightArrowClick ( )
inlineprotected

Definition at line 378 of file SCR_SpinBoxComponent.c.

◆ GetSpinBoxComponent()

SCR_SpinBoxComponent SCR_SpinBoxComponent::GetSpinBoxComponent ( string name,
Widget parent,
bool searchAllChildren = true )
inlinestaticprotected

Static method to easily find component by providing name and parent. Searching all children will go through whole hierarchy, instead of immediate chidren

Definition at line 389 of file SCR_SpinBoxComponent.c.

◆ HandlerAttached()

override void SCR_SpinBoxComponent::HandlerAttached ( Widget w)
inlineprotected

Definition at line 58 of file SCR_SpinBoxComponent.c.

◆ OnFocus()

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

Definition at line 95 of file SCR_SpinBoxComponent.c.

◆ OnFocusLost()

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

Definition at line 106 of file SCR_SpinBoxComponent.c.

◆ OnLeftArrowClick()

void SCR_SpinBoxComponent::OnLeftArrowClick ( )
inlineprotected

Definition at line 267 of file SCR_SpinBoxComponent.c.

◆ OnMenuLeft()

void SCR_SpinBoxComponent::OnMenuLeft ( )
inlineprotected

Definition at line 308 of file SCR_SpinBoxComponent.c.

◆ OnMenuRight()

void SCR_SpinBoxComponent::OnMenuRight ( )
inlineprotected

Definition at line 318 of file SCR_SpinBoxComponent.c.

◆ OnRightArrowClick()

void SCR_SpinBoxComponent::OnRightArrowClick ( )
inlineprotected

Definition at line 286 of file SCR_SpinBoxComponent.c.

◆ RemoveActionListeners()

void SCR_SpinBoxComponent::RemoveActionListeners ( )
inlineprotected

Definition at line 343 of file SCR_SpinBoxComponent.c.

◆ RemoveItem()

override void SCR_SpinBoxComponent::RemoveItem ( int item,
bool last = false )
inlineprotected

Definition at line 128 of file SCR_SpinBoxComponent.c.

◆ SetCurrentItem()

override bool SCR_SpinBoxComponent::SetCurrentItem ( int i,
bool playSound = false,
bool animate = false )
inlineprotected

Definition at line 142 of file SCR_SpinBoxComponent.c.

◆ SetCurrentItem_Internal()

bool SCR_SpinBoxComponent::SetCurrentItem_Internal ( int i,
bool playSound,
bool animate,
bool invokeOnChanged )
inlineprotected

Definition at line 149 of file SCR_SpinBoxComponent.c.

◆ SetCycleMode()

void SCR_SpinBoxComponent::SetCycleMode ( bool cycle)
inlineprotected

Definition at line 362 of file SCR_SpinBoxComponent.c.

◆ SetInitialState()

void SCR_SpinBoxComponent::SetInitialState ( bool invokeOnChanged = true)
inlineprotected

Definition at line 233 of file SCR_SpinBoxComponent.c.

◆ SetKeepActionListeners()

void SCR_SpinBoxComponent::SetKeepActionListeners ( bool keep)
inlineprotected

Definition at line 356 of file SCR_SpinBoxComponent.c.

◆ UpdateHintBar()

void SCR_SpinBoxComponent::UpdateHintBar ( int currentIndex,
int oldIndex )
inlineprotected

Definition at line 209 of file SCR_SpinBoxComponent.c.

Member Data Documentation

◆ COLOR_HINT_DESELECTED

const ref Color SCR_SpinBoxComponent::COLOR_HINT_DESELECTED = UIColors.WHITE_HOVERED
staticprotected

Definition at line 4 of file SCR_SpinBoxComponent.c.

◆ COLOR_HINT_SELECTED

const ref Color SCR_SpinBoxComponent::COLOR_HINT_SELECTED = UIColors.CONTRAST_COLOR
staticprotected

Definition at line 3 of file SCR_SpinBoxComponent.c.

◆ m_aHintElements

ref array<Widget> SCR_SpinBoxComponent::m_aHintElements = new array<Widget>()
protected

Definition at line 11 of file SCR_SpinBoxComponent.c.

◆ m_bAllowSwitchingWithoutFocus

bool SCR_SpinBoxComponent::m_bAllowSwitchingWithoutFocus
protected

Definition at line 55 of file SCR_SpinBoxComponent.c.

◆ m_bCycleMode

bool SCR_SpinBoxComponent::m_bCycleMode
protected

Definition at line 17 of file SCR_SpinBoxComponent.c.

◆ m_bHasActionListeners

bool SCR_SpinBoxComponent::m_bHasActionListeners
protected

Definition at line 54 of file SCR_SpinBoxComponent.c.

◆ m_bShowHints

bool SCR_SpinBoxComponent::m_bShowHints
protected

Definition at line 20 of file SCR_SpinBoxComponent.c.

◆ m_bUseLightArrows

bool SCR_SpinBoxComponent::m_bUseLightArrows
protected

Definition at line 14 of file SCR_SpinBoxComponent.c.

◆ m_ButtonLeft

SCR_PagingButtonComponent SCR_SpinBoxComponent::m_ButtonLeft
protected

Definition at line 6 of file SCR_SpinBoxComponent.c.

◆ m_ButtonRight

SCR_PagingButtonComponent SCR_SpinBoxComponent::m_ButtonRight
protected

Definition at line 7 of file SCR_SpinBoxComponent.c.

◆ m_fHintElementHeight

float SCR_SpinBoxComponent::m_fHintElementHeight
protected

Definition at line 26 of file SCR_SpinBoxComponent.c.

◆ m_fHintElementWidth

float SCR_SpinBoxComponent::m_fHintElementWidth
protected

Definition at line 23 of file SCR_SpinBoxComponent.c.

◆ m_fHintFillMode

bool SCR_SpinBoxComponent::m_fHintFillMode
protected

Definition at line 32 of file SCR_SpinBoxComponent.c.

◆ m_fHintSelectedWidthMultiplier

float SCR_SpinBoxComponent::m_fHintSelectedWidthMultiplier
protected

Definition at line 29 of file SCR_SpinBoxComponent.c.

◆ m_fHintSpacing

float SCR_SpinBoxComponent::m_fHintSpacing
protected

Definition at line 35 of file SCR_SpinBoxComponent.c.

◆ m_OnLeftArrowClick

ref ScriptInvoker SCR_SpinBoxComponent::m_OnLeftArrowClick
protected

Definition at line 49 of file SCR_SpinBoxComponent.c.

◆ m_OnRightArrowClick

ref ScriptInvoker SCR_SpinBoxComponent::m_OnRightArrowClick
protected

Definition at line 50 of file SCR_SpinBoxComponent.c.

◆ m_sHintBarElementName

string SCR_SpinBoxComponent::m_sHintBarElementName
protected

Definition at line 44 of file SCR_SpinBoxComponent.c.

◆ m_sHintElementImage

ResourceName SCR_SpinBoxComponent::m_sHintElementImage
protected

Definition at line 41 of file SCR_SpinBoxComponent.c.

◆ m_sHintElementTexture

ResourceName SCR_SpinBoxComponent::m_sHintElementTexture
protected

Definition at line 38 of file SCR_SpinBoxComponent.c.

◆ m_wContent

Widget SCR_SpinBoxComponent::m_wContent
protected

Definition at line 9 of file SCR_SpinBoxComponent.c.

◆ m_wCountBar

Widget SCR_SpinBoxComponent::m_wCountBar
protected

Definition at line 10 of file SCR_SpinBoxComponent.c.

◆ m_wText

TextWidget SCR_SpinBoxComponent::m_wText
protected

Definition at line 8 of file SCR_SpinBoxComponent.c.


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