Xonotic
bigcommandbutton.qc File Reference
+ Include dependency graph for bigcommandbutton.qc:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

entity makeXonoticBigCommandButton (string theText, vector theColor, string theCommand, int theFlags)
 
entity makeXonoticBigCommandButton_T (string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
 
void XonoticBigCommandButton_configureXonoticBigCommandButton (entity me, string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
 

Function Documentation

◆ makeXonoticBigCommandButton()

entity makeXonoticBigCommandButton ( string  theText,
vector  theColor,
string  theCommand,
int  theFlags 
)

Definition at line 10 of file bigcommandbutton.qc.

References makeXonoticBigCommandButton_T(), and string_null.

11 {
12  return makeXonoticBigCommandButton_T(theText, theColor, theCommand, theFlags, string_null);
13 }
string string_null
Definition: nil.qh:9
entity makeXonoticBigCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
+ Here is the call graph for this function:

◆ makeXonoticBigCommandButton_T()

entity makeXonoticBigCommandButton_T ( string  theText,
vector  theColor,
string  theCommand,
int  theFlags,
string  theTooltip 
)

Definition at line 3 of file bigcommandbutton.qc.

References entity(), and NEW.

Referenced by makeTeamButton_T(), and makeXonoticBigCommandButton().

4 {
5  entity me;
7  me.configureXonoticBigCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
8  return me;
9 }
#define NEW(cname,...)
Definition: oo.qh:105
entity() spawn
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ XonoticBigCommandButton_configureXonoticBigCommandButton()

void XonoticBigCommandButton_configureXonoticBigCommandButton ( entity  me,
string  theText,
vector  theColor,
string  theCommand,
int  theFlags,
string  theTooltip 
)

Definition at line 15 of file bigcommandbutton.qc.

16 {
17  me.configureXonoticCommandButton(me, theText, theColor, theCommand, theFlags, theTooltip);
18 }