|
override bool | SetCurrentItem (int i, bool playSound=false, bool animate=false) |
|
int | GetItemIndex (Managed item) |
|
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 | AddItem (string item, bool last=false, Managed data=null) |
|
void | ClearAll () |
|
void | RemoveItem (int item, bool last=false) |
|
int | GetCurrentIndex () |
|
string | GetCurrentItem () |
|
Managed | GetCurrentItemData () |
|
string | GetItemName (int item) |
|
Managed | GetItemData (int item) |
|
int | GetNumItems () |
|
bool | SetCurrentItem (int i, bool playSound=false, bool animate=false) |
|
override void | HandlerAttached (Widget w) |
|
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) |
|
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 void | HandlerAttached (Widget w) |
|
override bool | OnClick (Widget w, int x, int y, int button) |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnFocus (Widget w, int x, int y) |
|
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) |
|
override void | HandlerAttached (Widget w) |
|
override bool | OnClick (Widget w, int x, int y, int button) |
|
Widget | GetRootWidget () |
|
bool | IsVisible () |
|
|
static SCR_SpinBoxComponent | GetSpinBoxComponent (string name, Widget parent, bool searchAllChildren=true) |
| Static method to easily find component by providing name and parent.
|
|
static SCR_SelectionWidgetComponent | GetSelectionComponent (string name, Widget parent, bool searchAllChildren=true) |
|
static bool | SetTexture (ImageWidget widget, ResourceName texture, string image="") |
|
static SCR_ScriptedWidgetComponent | GetComponent (TypeName componentType, string name, Widget parent, bool searchAllChildren=true) |
| Base method for component lookup through the widget library.
|
|
static const float | START_ANIMATION_RATE = 10001 |
|
static const float | START_ANIMATION_PERIOD = 250 |
|
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 | SetupLabel () |
|
void | ClearLabel () |
|
void | OnEnabled (bool animate) |
|
void | OnDisabled (bool animate) |
|
bool | IsChildWidget (Widget parent, Widget child) |
|
void | SetAnimationRate () |
|
void | PlaySound (string sound) |
|
SCR_PagingButtonComponent | m_ButtonLeft |
|
SCR_PagingButtonComponent | m_ButtonRight |
|
TextWidget | m_wText |
|
Widget | m_wContent |
|
Widget | m_wCountBar |
|
ref array< Widget > | m_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 |
|
ref array< ref Managed > | m_aElementData = new array<ref Managed> |
|
bool | m_bUseLabel |
|
string | m_sLabel |
|
bool | m_bForceSize |
|
float | m_fSizeWithLabel |
|
float | m_fSizeWithoutLabel |
|
ResourceName | m_sLabelLayout |
|
string | m_sSizeLayout |
|
Widget | m_wBorder |
|
Widget | m_wBackground |
|
Widget | m_wLabelRoot |
|
string | m_sSoundHovered |
|
string | m_sSoundClicked |
|
float | m_fAnimationTime |
|
bool | m_bMouseOverToFocus |
|
float | m_fDisabledOpacity |
|
float | m_fAnimationRate |
|
Widget | m_wRoot |
|
static const ref Color | COLOR_HINT_SELECTED = UIColors.CONTRAST_COLOR |
|
static const ref Color | COLOR_HINT_DESELECTED = UIColors.WHITE_HOVERED |
|