Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
textlabel.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../item/label.qh
"
4
CLASS
(
XonoticTextLabel
,
Label
)
5
METHOD
(
XonoticTextLabel
,
draw
,
void
(
entity
));
6
ATTRIB
(
XonoticTextLabel
,
fontSize
,
float
, SKINFONTSIZE_NORMAL);
7
ATTRIB
(
XonoticTextLabel
,
alpha
,
float
, SKINALPHA_TEXT);
8
ATTRIB
(
XonoticTextLabel
,
disabledAlpha
,
float
, SKINALPHA_DISABLED);
9
ENDCLASS
(
XonoticTextLabel
)
10
entity
makeXonoticTextLabel
(
float
theAlign,
string
theText);
11
entity
makeXonoticHeaderLabel
(
string
theText);
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Label
Definition
label.qh:4
Label::ATTRIB
ATTRIB(Label, text, string)
XonoticTextLabel
Definition
textlabel.qh:4
XonoticTextLabel::fontSize
float fontSize
Definition
textlabel.qh:6
XonoticTextLabel::disabledAlpha
float disabledAlpha
Definition
textlabel.qh:8
XonoticTextLabel::alpha
float alpha
Definition
textlabel.qh:7
XonoticTextLabel::draw
virtual void draw()
label.qh
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
makeXonoticTextLabel
entity makeXonoticTextLabel(float theAlign, string theText)
Definition
textlabel.qc:3
makeXonoticHeaderLabel
entity makeXonoticHeaderLabel(string theText)
Definition
textlabel.qc:10
menu
xonotic
textlabel.qh
Generated on
for Xonotic QuakeC by
1.14.0