1 #include "textlabel.qh"
3 entity makeXonoticTextLabel(float theAlign, string theText)
6 me = NEW(XonoticTextLabel);
7 me.configureXonoticTextLabel(me, theAlign, theText);
10 entity makeXonoticHeaderLabel(string theText)
13 me = makeXonoticTextLabel(0.5, theText);
14 me.colorL = SKINCOLOR_HEADER;
15 me.alpha = SKINALPHA_HEADER;
19 void XonoticTextLabel_configureXonoticTextLabel(entity me, float theAlign, string theText)
21 me.configureLabel(me, theText, me.fontSize, theAlign);
23 void XonoticTextLabel_draw(entity me)
25 SUPER(XonoticTextLabel).draw(me);