Label

A label

Constructors

this
this(T text, int size)
Undocumented in source.

Members

Functions

area
vec4 area()

Area of the widget

onDraw
void onDraw()

Code run when drawing

onUpdate
void onUpdate()

Code run when updating the widget

scissorArea
vec4i scissorArea()

Area in which the widget cuts out child widgets

setText
void setText(T text)

Set the text of the label This function supports UTF8 text

Variables

size
int size;

The font size

text
dstring text;

The text buffer for the label

Meta