The OpenD Programming Language

bndScrollBar

Draw scrollbar with its lower left origin at (x, y) and size of (w, h), where state denotes the widgets current UI state.

offset is in the range 0..1 and controls the position of the scroll handle

size is in the range 0..1 and controls the size of the scroll handle

horizontal widget looks best when height is BND_SCROLLBAR_HEIGHT,

vertical looks best when width is BND_SCROLLBAR_WIDTH

nothrow @trusted @nogc
void
bndScrollBar
(,
float x
,
float y
,
float w
,
float h
,,
float offset
,
float size
)

Meta