31 m_ParentClass.OnFocus(
m_Root.GetParent(), -1, m_SelectorType);
32#ifdef PLATFORM_WINDOWS
33 m_ParentClass.OnMouseEnter(
m_Root.GetParent().GetParent(),
x,
y);
45 m_ParentClass.OnFocus(
null,
x,
y);
46#ifdef PLATFORM_WINDOWS
47 m_ParentClass.OnMouseLeave(
m_Root.GetParent().GetParent(),
enterW,
x,
y);
84#ifdef PLATFORM_CONSOLE
116 m_Slider.SetStep(
step);
121 m_Slider.SetCurrent(NormalizeInput(
value));
145 m_Slider.SetColor(
ARGB(255, 200, 0, 0));
157 m_Slider.SetColor(
ARGB(140, 255, 255, 255));
void ColorNormal(Widget w)
override bool OnFocusLost(Widget w, int x, int y)
void ColorHighlight(Widget w)
override bool OnFocus(Widget w, int x, int y)
override bool OnFocus(Widget w, int x, int y)
override bool OnChange(Widget w, int x, int y, bool finished)
override bool IsFocusable(Widget w)
override bool OnFocusLost(Widget w, int x, int y)
override void ColorHighlight(Widget w)
override bool OnMouseEnter(Widget w, int x, int y)
float NormalizeInput(float value)
void SetValue(float value, bool update=true)
override void ColorNormal(Widget w)
override bool OnMouseLeave(Widget w, Widget enterW, int x, int y)
override bool OnMouseButtonUp(Widget w, int x, int y, int button)
void ~OptionSelectorSliderSetup()
This Option Selector handles a Slider Marker, which basically has 2 sliders One slider is for selecti...
int ARGB(int a, int r, int g, int b)