- _value
float _value;
- _offset
float _offset;
- _step
float _step;
- _min
float _min;
- _max
float _max;
- _scrollLength
float _scrollLength;
- _minimalSliderSize
float _minimalSliderSize;
- _scrollAngle
float _scrollAngle;
Undocumented in source.
- _isGrabbed
bool _isGrabbed;
Undocumented in source.
- value01
float value01 [@property getter]
float value01 [@property setter]
Slider's value between 0 and 1.
- ivalue
int ivalue [@property getter]
int ivalue [@property setter]
Rounded value between the min and max values specified.
- fvalue
float fvalue [@property getter]
float fvalue [@property setter]
Value between the min and max values specified.
- offset
float offset [@property getter]
Value (from 0 to 1) before being processed/clamped/etc. \
Useful for rendering, not for getting its value as data.
- step
uint step [@property getter]
uint step [@property setter]
The number of steps of the slider. \
1 = The slider jumps directly from start to finish. \
More = The slider has more intermediate values.
- min
float min [@property getter]
float min [@property setter]
Minimal value possible for the slider. \
Used by ivalue() and fvalue().
- max
float max [@property getter]
float max [@property setter]
Maximal value possible for the slider. \
Used by ivalue() and fvalue().
- update
void update(float deltaTime)
Undocumented in source. Be warned that the author may not have intended to support it.
- onEvent
void onEvent(Event event)
Undocumented in source. Be warned that the author may not have intended to support it.
- relocateSlider
void relocateSlider(Event event)
Process the slider position.
- getSliderPosition
Vec2f getSliderPosition()
Current coordinate of the slider.
Simple horizontal slider with basic rendering.