bndSlider

Draw slider control with its lower left origin at (x, y) and size of (w, h), where flags is one or multiple flags from BNDcornerFlags and state denotes the widgets current UI state.

progress must be in the range 0..1 and controls the size of the slider bar

if label is not null, a label will be added to the widget

if value is not null, a value will be added to the widget, along with a ":" separator

widget looks best when height is BND_WIDGET_HEIGHT

nothrow @trusted @nogc
void
bndSlider
(
T = char
TV = char
)
(,
float x
,
float y
,
float w
,
float h
,
int flags
,,
float progress
,
const(T)[] label
,
const(TV)[] value
)
if (
isAnyCharType!T &&
isAnyCharType!TV
)

Meta