Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
textlabel.qh File Reference
#include "../item/label.qh"
Include dependency graph for textlabel.qh:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  XonoticTextLabel

Functions

entity makeXonoticHeaderLabel (string theText)
entity makeXonoticTextLabel (float theAlign, string theText)

Function Documentation

◆ makeXonoticHeaderLabel()

entity makeXonoticHeaderLabel ( string theText)

Definition at line 10 of file textlabel.qc.

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}
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
entity makeXonoticTextLabel(float theAlign, string theText)
Definition textlabel.qc:3

References entity(), and makeXonoticTextLabel().

Referenced by XonoticDamageTextSettings_fill(), XonoticGameCrosshairSettingsTab_fill(), XonoticGameHUDSettingsTab_fill(), XonoticGameMessageSettingsTab_fill(), XonoticGameModelSettingsTab_fill(), XonoticGameViewSettingsTab_fill(), XonoticGameWeaponsSettingsTab_fill(), XonoticHUDExitDialog_fill(), XonoticInputSettingsTab_fill(), XonoticMiscSettingsTab_fill(), XonoticProfileTab_fill(), XonoticServerCreateTab_fill(), XonoticSingleplayerDialog_fill(), XonoticUserSettingsTab_fill(), and XonoticVideoSettingsTab_fill().

◆ makeXonoticTextLabel()

entity makeXonoticTextLabel ( float theAlign,
string theText )

Definition at line 3 of file textlabel.qc.

4{
5 entity me;
7 me.configureLabel(me, theText, me.fontSize, theAlign);
8 return me;
9}
#define NEW(cname,...)
Definition oo.qh:117