|
| 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) |
| |
| void | AddActionListeners () |
| |
| void | RemoveActionListeners () |
| |
| void | SetKeepActionListeners (bool keep) |
| |
| void | SetCycleMode (bool cycle) |
| |
| ScriptInvoker | GetOnLeftArrowClick () |
| |
| ScriptInvoker | GetOnRightArrowClick () |
| |
| int | GetCurrentIndex () |
| |
| string | GetCurrentItem () |
| |
| Managed | GetCurrentItemData () |
| |
| string | GetItemName (int item) |
| |
| Managed | GetItemData (int item) |
| |
| int | GetNumItems () |
| |
| override bool | OnMouseEnter (Widget w, int x, int y) |
| |
| override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
| |
| TextWidget | GetLabel () |
| |
| void | SetLabel (string label) |
| |
| void | UseLabel (bool use) |
| |
| bool | IsUsingLabel () |
| |
| Widget | GetLabelWidget () |
| | If label is not used, label widget might not exist at all!
|
| |
| void | SetSizeWithLabel (float size) |
| |
| void | SetSizeWithoutLabel (float size) |
| |
| override bool | OnClick (Widget w, int x, int y, int button) |
| |
| void | SetHoverSound (string soundHover) |
| |
| void | SetClickedSound (string soundClicked) |
| |
| string | GetHoverSound () |
| |
| string | GetClickedSound () |
| |
| void | SetEnabled (bool enabled, bool animate=true) |
| |
| void | SetVisible (bool visible, bool animate=true) |
| |
| bool | IsEnabled () |
| |
| void | SetMouseOverToFocus (bool mouseOverToFocus) |
| |
| void | SetDisabledOpacity (float newDisabledOpacity) |
| |
| void | SetData (Managed data) |
| | Store custom data.
|
| |
| Managed | GetData () |
| | Get stored data.
|
| |
| Widget | GetRootWidget () |
| |
| bool | IsVisible () |
| |
◆ AddActionListeners()
| void SCR_SpinBoxComponent.AddActionListeners |
( |
| ) |
|
◆ AddItem()
| override int SCR_SpinBoxComponent.AddItem |
( |
string | item, |
|
|
bool | last = false, |
|
|
Managed | data = null ) |
◆ ClearAll()
| override void SCR_SpinBoxComponent.ClearAll |
( |
| ) |
|
◆ CreateHintBar()
| void SCR_SpinBoxComponent.CreateHintBar |
( |
| ) |
|
|
protected |
◆ EnableArrows()
| void SCR_SpinBoxComponent.EnableArrows |
( |
int | selected, |
|
|
bool | animate ) |
|
protected |
Based on cycle mode set which arrow should be enabled at given selection.
◆ GetOnLeftArrowClick()
| ScriptInvoker SCR_SpinBoxComponent.GetOnLeftArrowClick |
( |
| ) |
|
◆ GetOnRightArrowClick()
| ScriptInvoker SCR_SpinBoxComponent.GetOnRightArrowClick |
( |
| ) |
|
◆ GetSpinBoxComponent()
| static SCR_SpinBoxComponent SCR_SpinBoxComponent.GetSpinBoxComponent |
( |
string | name, |
|
|
Widget | parent, |
|
|
bool | searchAllChildren = true ) |
|
static |
Static method to easily find component by providing name and parent.
Searching all children will go through whole hierarchy, instead of immediate chidren
◆ HandlerAttached()
| override void SCR_SpinBoxComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ OnFocus()
| override bool SCR_SpinBoxComponent.OnFocus |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnFocusLost()
| override bool SCR_SpinBoxComponent.OnFocusLost |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnLeftArrowClick()
| void SCR_SpinBoxComponent.OnLeftArrowClick |
( |
| ) |
|
|
protected |
◆ OnMenuLeft()
| void SCR_SpinBoxComponent.OnMenuLeft |
( |
| ) |
|
|
protected |
◆ OnMenuRight()
| void SCR_SpinBoxComponent.OnMenuRight |
( |
| ) |
|
|
protected |
◆ OnRightArrowClick()
| void SCR_SpinBoxComponent.OnRightArrowClick |
( |
| ) |
|
|
protected |
◆ RemoveActionListeners()
| void SCR_SpinBoxComponent.RemoveActionListeners |
( |
| ) |
|
◆ RemoveItem()
| override void SCR_SpinBoxComponent.RemoveItem |
( |
int | item, |
|
|
bool | last = false ) |
◆ SetCurrentItem()
| override bool SCR_SpinBoxComponent.SetCurrentItem |
( |
int | i, |
|
|
bool | playSound = false, |
|
|
bool | animate = false ) |
◆ SetCurrentItem_Internal()
| bool SCR_SpinBoxComponent.SetCurrentItem_Internal |
( |
int | i, |
|
|
bool | playSound, |
|
|
bool | animate, |
|
|
bool | invokeOnChanged ) |
|
protected |
◆ SetCycleMode()
| void SCR_SpinBoxComponent.SetCycleMode |
( |
bool | cycle | ) |
|
◆ SetInitialState()
| void SCR_SpinBoxComponent.SetInitialState |
( |
bool | invokeOnChanged = true | ) |
|
|
protected |
◆ SetKeepActionListeners()
| void SCR_SpinBoxComponent.SetKeepActionListeners |
( |
bool | keep | ) |
|
◆ UpdateHintBar()
| void SCR_SpinBoxComponent.UpdateHintBar |
( |
int | currentIndex, |
|
|
int | oldIndex ) |
|
protected |
◆ COLOR_HINT_DESELECTED
◆ COLOR_HINT_SELECTED
◆ m_aHintElements
| ref array<Widget> SCR_SpinBoxComponent.m_aHintElements = new array<Widget>() |
|
protected |
◆ m_bAllowSwitchingWithoutFocus
| bool SCR_SpinBoxComponent.m_bAllowSwitchingWithoutFocus |
|
protected |
◆ m_bCycleMode
| bool SCR_SpinBoxComponent.m_bCycleMode |
|
protected |
◆ m_bHasActionListeners
| bool SCR_SpinBoxComponent.m_bHasActionListeners |
|
protected |
◆ m_bShowHints
| bool SCR_SpinBoxComponent.m_bShowHints |
|
protected |
◆ m_bUseLightArrows
| bool SCR_SpinBoxComponent.m_bUseLightArrows |
|
protected |
◆ m_ButtonLeft
◆ m_ButtonRight
◆ m_fHintElementHeight
| float SCR_SpinBoxComponent.m_fHintElementHeight |
|
protected |
◆ m_fHintElementWidth
| float SCR_SpinBoxComponent.m_fHintElementWidth |
|
protected |
◆ m_fHintFillMode
| bool SCR_SpinBoxComponent.m_fHintFillMode |
|
protected |
◆ m_fHintSelectedWidthMultiplier
| float SCR_SpinBoxComponent.m_fHintSelectedWidthMultiplier |
|
protected |
◆ m_fHintSpacing
| float SCR_SpinBoxComponent.m_fHintSpacing |
|
protected |
◆ m_OnLeftArrowClick
| ref ScriptInvoker SCR_SpinBoxComponent.m_OnLeftArrowClick |
|
protected |
◆ m_OnRightArrowClick
| ref ScriptInvoker SCR_SpinBoxComponent.m_OnRightArrowClick |
|
protected |
◆ m_sHintBarElementName
| string SCR_SpinBoxComponent.m_sHintBarElementName |
|
protected |
◆ m_sHintElementImage
| ResourceName SCR_SpinBoxComponent.m_sHintElementImage |
|
protected |
◆ m_sHintElementTexture
| ResourceName SCR_SpinBoxComponent.m_sHintElementTexture |
|
protected |
◆ m_wContent
| Widget SCR_SpinBoxComponent.m_wContent |
|
protected |
◆ m_wCountBar
| Widget SCR_SpinBoxComponent.m_wCountBar |
|
protected |
◆ m_wText
| TextWidget SCR_SpinBoxComponent.m_wText |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Components/WidgetLibrary/SCR_Slider/SCR_SpinBoxComponent.c