bndToolButton

Draw a tool button 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.

if iconid >= 0, an icon will be added to the widget

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

widget looks best when height is BND_WIDGET_HEIGHT

nothrow @trusted @nogc
void
bndToolButton
(
T = char
)
(,
float x
,
float y
,
float w
,
float h
,
int flags
,,
int iconid
,
const(T)[] label
)
if (
isAnyCharType!T
)

Meta