The OpenD Programming Language

bndNumberField

Draw a number field 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 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
bndNumberField
(
T = char
)
(,
float x
,
float y
,
float w
,
float h
,
int flags
,,
const(T)[] label
,
const(char)[] value
)
if (
isAnyCharType!T
)

Meta