The OpenD Programming Language

bndIconLabelValue

Draw an optional icon specified by <iconid> and an optional label with given alignment (BNDtextAlignment), fontsize and color within a widget box.

if iconid is >= 0, an icon will be drawn and the labels remaining space will be adjusted.

if label is not null, it will be drawn with the specified alignment, fontsize and color.

if value is not null, label and value will be drawn with a ":" separator inbetween.

nothrow @trusted @nogc
void
bndIconLabelValue
(
T = char
TV = char
)
(,
float x
,
float y
,
float w
,
float h
,
int iconid
,,
int align_
,
float fontsize
,
const(T)[] label
,
const(TV)[] value = null
)
if (
isAnyCharType!T &&
isAnyCharType!TV
)

Meta