VertScrollBar

Vertical scroll bar.

Constructors

this
this(int maxValue, string source, Box position)
Undocumented in source.

Members

Functions

draw
void draw()
Undocumented in source. Be warned that the author may not have intended to support it.
passMCE
void passMCE(MouseEventCommons mec, MouseClickEvent mce)
Undocumented in source. Be warned that the author may not have intended to support it.
passMME
void passMME(MouseEventCommons mec, MouseMotionEvent mme)
Undocumented in source. Be warned that the author may not have intended to support it.
passMWE
void passMWE(MouseEventCommons mec, MouseWheelEvent mwe)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From ScrollBar

PLUS_PRESSED
enum PLUS_PRESSED;
Undocumented in source.
MINUS_PRESSED
enum MINUS_PRESSED;
Undocumented in source.
SCROLLMATIC
enum SCROLLMATIC;
Undocumented in source.
_value
int _value;
_maxValue
int _maxValue;
_barLength
int _barLength;
Undocumented in source.
scrollSpeed
int scrollSpeed;

Sets the scrollspeed for the given instance, can be useful for large number of items.

valRatio
double valRatio;

Ratio between the travel length and the maximum value

barLength0
double barLength0;
Undocumented in source.
onScrolling
void delegate(Event ev) onScrolling;

Called shen the scrollbar's value is changed

value
int value [@property getter]

Returns the slider position.

value
int value [@property setter]

Sets the slider position, and redraws the slider. Returns the new slider position.

maxValue
int maxValue [@property getter]

Returns the maximum value of the slider.

maxValue
int maxValue [@property setter]

Sets the new maximum value and bar lenght of the slider. Position is kept or lowered if maximum is reached.

barLength
int barLength [@property getter]

Returns the length of the scrollbar in pixels.

timerEvent
void timerEvent(Duration jitter)
Undocumented in source. Be warned that the author may not have intended to support it.
registerTimer
void registerTimer()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta