bndMenuItem

Draw a menu item with its lower left origin at (x, y) and size of (w, h), where 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
bndMenuItem
(
T = char
)
(,
float x
,
float y
,
float w
,
float h
,,
int iconid
,
const(T)[] label
)
if (
isAnyCharType!T
)
Suggestion Box / Bug Report