|
override void | HandlerAttached (Widget w) |
|
override void | HandlerDeattached (Widget w) |
|
override bool | OnFocus (Widget w, int x, int y) |
|
void | SetValue (float value) |
|
ScriptInvoker | GetOnChangedFinal () |
|
float | GetValue () |
|
void | SetFormatText (string text) |
|
string | GetFormatText () |
|
void | ShowCustomValue (string value) |
|
void | SetSliderSettings (float min, float max, float step, string formatText=string.Empty) |
|
void | SetMin (float min) |
|
void | SetMax (float max) |
|
void | SetStep (float step) |
|
float | GetMin () |
|
float | GetMax () |
|
float | GetStep () |
|
void | SetShownValueMultiplier (float multiplier) |
|
float | GetShownValueMultiplier () |
|
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 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 () |
|
|
static SCR_SliderComponent | GetSliderComponent (string name, Widget parent, bool searchAllChildren=true) |
| Static method to easily find component by providing name and parent.
|
|
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.
|
|
◆ GetFormatText()
string SCR_SliderComponent.GetFormatText |
( |
| ) |
|
◆ GetMax()
float SCR_SliderComponent.GetMax |
( |
| ) |
|
◆ GetMin()
float SCR_SliderComponent.GetMin |
( |
| ) |
|
◆ GetOnChangedFinal()
ScriptInvoker SCR_SliderComponent.GetOnChangedFinal |
( |
| ) |
|
◆ GetShownValueMultiplier()
float SCR_SliderComponent.GetShownValueMultiplier |
( |
| ) |
|
◆ GetSliderComponent()
static SCR_SliderComponent SCR_SliderComponent.GetSliderComponent |
( |
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
◆ GetStep()
float SCR_SliderComponent.GetStep |
( |
| ) |
|
◆ GetValue()
float SCR_SliderComponent.GetValue |
( |
| ) |
|
◆ HandlerAttached()
override void SCR_SliderComponent.HandlerAttached |
( |
Widget | w | ) |
|
◆ HandlerDeattached()
override void SCR_SliderComponent.HandlerDeattached |
( |
Widget | w | ) |
|
◆ OnFocus()
override bool SCR_SliderComponent.OnFocus |
( |
Widget | w, |
|
|
int | x, |
|
|
int | y ) |
◆ OnSliderFocus()
void SCR_SliderComponent.OnSliderFocus |
( |
| ) |
|
|
protected |
◆ OnSliderFocusLost()
void SCR_SliderComponent.OnSliderFocusLost |
( |
| ) |
|
|
protected |
◆ OnValueChanged()
void SCR_SliderComponent.OnValueChanged |
( |
Widget | w | ) |
|
|
protected |
◆ OnValueFinal()
void SCR_SliderComponent.OnValueFinal |
( |
Widget | w | ) |
|
|
protected |
◆ RoundValue()
float SCR_SliderComponent.RoundValue |
( |
float | value, |
|
|
int | precision ) |
|
protected |
◆ SetFormatText()
void SCR_SliderComponent.SetFormatText |
( |
string | text | ) |
|
◆ SetMax()
void SCR_SliderComponent.SetMax |
( |
float | max | ) |
|
◆ SetMin()
void SCR_SliderComponent.SetMin |
( |
float | min | ) |
|
◆ SetShownValueMultiplier()
void SCR_SliderComponent.SetShownValueMultiplier |
( |
float | multiplier | ) |
|
◆ SetSliderSettings()
void SCR_SliderComponent.SetSliderSettings |
( |
float | min, |
|
|
float | max, |
|
|
float | step, |
|
|
string | formatText = string::Empty ) |
◆ SetStep()
void SCR_SliderComponent.SetStep |
( |
float | step | ) |
|
◆ SetValue()
void SCR_SliderComponent.SetValue |
( |
float | value | ) |
|
◆ ShowCustomValue()
void SCR_SliderComponent.ShowCustomValue |
( |
string | value | ) |
|
◆ UpdateValue()
float SCR_SliderComponent.UpdateValue |
( |
| ) |
|
|
protected |
◆ m_bClampValue
bool SCR_SliderComponent.m_bClampValue |
|
protected |
◆ m_bRoundValue
bool SCR_SliderComponent.m_bRoundValue |
|
protected |
◆ m_fMaxValue
float SCR_SliderComponent.m_fMaxValue |
|
protected |
◆ m_fMinValue
float SCR_SliderComponent.m_fMinValue |
|
protected |
◆ m_fOldValue
float SCR_SliderComponent.m_fOldValue |
|
protected |
◆ m_fSecondaryMultiplier
float SCR_SliderComponent.m_fSecondaryMultiplier |
|
protected |
◆ m_fSecondaryOffset
float SCR_SliderComponent.m_fSecondaryOffset |
|
protected |
◆ m_fShownSecondaryMultiplier
float SCR_SliderComponent.m_fShownSecondaryMultiplier |
|
protected |
◆ m_fShownValueMultiplier
float SCR_SliderComponent.m_fShownValueMultiplier |
|
protected |
◆ m_fStep
float SCR_SliderComponent.m_fStep |
|
protected |
◆ m_fValue
float SCR_SliderComponent.m_fValue |
|
protected |
◆ m_fValueMultiplier
float SCR_SliderComponent.m_fValueMultiplier |
|
protected |
◆ m_fValueOffset
float SCR_SliderComponent.m_fValueOffset |
|
protected |
◆ m_Handler
◆ m_iDecimalPrecision
int SCR_SliderComponent.m_iDecimalPrecision |
|
protected |
◆ m_OnChangedFinal
ref ScriptInvoker SCR_SliderComponent.m_OnChangedFinal |
|
protected |
◆ m_sChangeSound
string SCR_SliderComponent.m_sChangeSound |
|
protected |
◆ m_sFormatText
string SCR_SliderComponent.m_sFormatText |
|
protected |
◆ m_wSlider
SliderWidget SCR_SliderComponent.m_wSlider |
|
protected |
◆ m_wText
TextWidget SCR_SliderComponent.m_wText |
|
protected |
The documentation for this interface was generated from the following file:
- Game/UI/Components/WidgetLibrary/SCR_Slider/SCR_SliderComponent.c