33 #define CUI__LABEL__SMALL 10
34 #define CUI__LABEL__MEDIUM 12
35 #define CUI__LABEL__LARGE 14
68 virtual void create(laPoint3 pos, laPoint3 size);
74 void setText(
const char* text) { sprintf(_strText, text); };
75 void getText(
char* text) { sprintf(text, _strText); };
80 void align(
unsigned ha,
unsigned va) { _nAlignH = ha; _nAlignV = va; }
81 void size(
unsigned size) { _nSize = size; }
82 void font(
laFont* pf) { _pFont = pf; }
void kill()
Discard window and all children.
char _strText[256]
Text string.
virtual void create(laPoint3 pos, laPoint3 size)
Create new empty window.
M_BOOL _bCustomColor
Custom color, or use skin color if not set.
uiLabel(void)
Class Constructor.
Base class for GUI windows.
virtual void draw()
Draw event.
virtual void load(class laFileParser *fp)
Load from .cui file.
laFont * _pFont
Pointer to active font.