bndIconLabelCaret

Draw an optional icon specified by <iconid>, an optional label and a caret with given 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.

cbegin must be >= 0 and <= strlen(text) and denotes the beginning of the caret

cend must be >= cbegin and <= strlen(text) and denotes the end of the caret if cend < cbegin, then no caret will be drawn

nothrow @trusted @nogc
void
bndIconLabelCaret
(
T = char
)
(,
float x
,
float y
,
float w
,
float h
,
int iconid
,,
float fontsize
,
const(T)[] label
,,
int cbegin
,
int cend
,
NVGColor thinCaretColor = NVGColor.black
)
if (
isAnyCharType!T
)

Meta