Xonotic
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.

References entity(), and makeXonoticTextLabel().

Referenced by XonoticGameHUDSettingsTab_fill(), XonoticGameMessageSettingsTab_fill(), XonoticGameModelSettingsTab_fill(), XonoticHUDExitDialog_fill(), XonoticInputSettingsTab_fill(), XonoticMiscSettingsTab_fill(), XonoticServerCreateTab_fill(), and XonoticUserSettingsTab_fill().

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 }
entity() spawn
entity makeXonoticTextLabel(float theAlign, string theText)
Definition: textlabel.qc:3
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ makeXonoticTextLabel()

entity makeXonoticTextLabel ( float  theAlign,
string  theText 
)

Definition at line 3 of file textlabel.qc.

4 {
5  entity me;
6  me = NEW(XonoticTextLabel);
7  me.configureXonoticTextLabel(me, theAlign, theText);
8  return me;
9 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn