|
void | OptionSelector (Widget parent, int current_index, ScriptedWidgetEventHandler parent_c, bool disabled) |
|
void | ~OptionSelector () |
|
override bool | OnMouseButtonUp (Widget w, int x, int y, int button) |
|
override bool | OnClick (Widget w, int x, int y, int button) |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
|
void | Reset () |
|
void | SetNextOption () |
|
void | SetPrevOption () |
|
array< string > | GetOptions () |
|
bool | IsSet () |
|
bool | IsEnabled () |
| Returns 'true' if current index == 1 (default 'enabled' value). Take care, as different selectors may follow different logic!
|
|
bool | IsSelectorEnabled () |
| Returns false for the selector in 'disabled' states.
|
|
string | GetStringValue () |
|
void | SetStringOption (string option, bool fire_event=true) |
|
void | ColorOption () |
|
override bool | IsFocusable (Widget w) |
|
override void | Enable () |
|
override void | Disable () |
|
override void | ColorNormalConsole (Widget w) |
|
override void | ColorDisabledConsole (Widget w) |
|
void | OptionSelectorEditbox (Widget parent, string value, ScriptedWidgetEventHandler parent_menu, bool disabled) |
|
void | ~OptionSelectorEditbox () |
|
override void | Enable () |
|
override void | Disable () |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
|
override bool | OnChange (Widget w, int x, int y, bool finished) |
|
override bool | IsFocusable (Widget w) |
|
override bool | OnFocus (Widget w, int x, int y) |
|
override bool | OnFocusLost (Widget w, int x, int y) |
|
void | SetValue (string value, bool update=true) |
|
string | GetValue () |
|
override void | ColorHighlight (Widget w) |
|
override void | ColorNormal (Widget w) |
|
void | ~OptionSelectorSliderSetup () |
|
override void | Enable () |
|
override void | Disable () |
|
override bool | OnMouseEnter (Widget w, int x, int y) |
|
override bool | OnMouseLeave (Widget w, Widget enterW, int x, int y) |
|
override bool | OnMouseButtonUp (Widget w, int x, int y, int button) |
|
override bool | OnChange (Widget w, int x, int y, bool finished) |
|
override bool | IsFocusable (Widget w) |
|
override bool | OnFocus (Widget w, int x, int y) |
|
override bool | OnFocusLost (Widget w, int x, int y) |
|
float | NormalizeInput (float value) |
|
void | SetStep (float step) |
|
void | SetValue (float value, bool update=true) |
|
float | GetValue () |
|
void | SetMax (float max) |
|
override void | ColorHighlight (Widget w) |
|
override void | ColorNormal (Widget w) |
|
См. определение в файле OptionSelector.c строка 1