HorizScrollBar

Horizontal scrollbar.

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.
_value
int _value;
_maxValue
int _maxValue;
_barLength
int _barLength;
Undocumented in source.
largeVal
double largeVal;

Set to double.nan if value is less than travellength, or the ratio between

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.

Meta