VScrollbar

Simple vertical scrollbar with basic rendering.

Constructors

this
this()

Ctor

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
onSize
void onSize()
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Slider

_value
float _value;
_offset
float _offset;
_step
float _step;
_minValue
float _minValue;
_maxValue
float _maxValue;
_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.

steps
uint steps [@property getter]
uint steps [@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.

minValue
float minValue [@property getter]
float minValue [@property setter]

Minimal value possible for the slider. \ Used by ivalue() and fvalue().

maxValue
float maxValue [@property getter]
float maxValue [@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.

Meta