Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
textlabel.qc
Go to the documentation of this file.
1#include "textlabel.qh"
2
3entity makeXonoticTextLabel(float theAlign, string theText)
4{
5 entity me;
7 me.configureLabel(me, theText, me.fontSize, theAlign);
8 return me;
9}
11{
12 entity me;
13 me = makeXonoticTextLabel(0.5, theText);
14 me.colorL = SKINCOLOR_HEADER;
15 me.alpha = SKINALPHA_HEADER;
16 me.isBold = true;
17 return me;
18}
19
21{
22 SUPER(XonoticTextLabel).draw(me);
23}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
#define NEW(cname,...)
Definition oo.qh:117
#define SUPER(cname)
Definition oo.qh:231
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3
void XonoticTextLabel_draw(entity me)
Definition textlabel.qc:20
entity makeXonoticHeaderLabel(string theText)
Definition textlabel.qc:10