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
3
entity
makeXonoticTextLabel
(
float
theAlign,
string
theText)
4
{
5
entity
me =
NEW
(
XonoticTextLabel
);
6
me.configureLabel(me, theText, me.fontSize, theAlign);
7
return
me;
8
}
9
entity
makeXonoticHeaderLabel
(
string
theText)
10
{
11
entity
me =
makeXonoticTextLabel
(0.5, theText);
12
me.colorL = SKINCOLOR_HEADER;
13
me.alpha = SKINALPHA_HEADER;
14
me.isBold =
true
;
15
return
me;
16
}
17
18
void
XonoticTextLabel_draw
(
entity
me)
19
{
20
SUPER
(
XonoticTextLabel
).draw(me);
21
}
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticTextLabel
Definition
textlabel.qh:4
NEW
#define NEW(cname,...)
Definition
oo.qh:117
SUPER
#define SUPER(cname)
Definition
oo.qh:231
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition
textlabel.qc:3
XonoticTextLabel_draw
void XonoticTextLabel_draw(entity me)
Definition
textlabel.qc:18
makeXonoticHeaderLabel
entity makeXonoticHeaderLabel(string theText)
Definition
textlabel.qc:9
textlabel.qh
menu
xonotic
textlabel.qc
Generated on
for Xonotic QuakeC by
1.14.0