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

Go to the source code of this file.

Functions

entity makeXonoticBigButton (string theText, vector theColor)
 
void XonoticBigButton_configureXonoticBigButton (entity me, string theText, vector theColor)
 

Function Documentation

◆ makeXonoticBigButton()

entity makeXonoticBigButton ( string  theText,
vector  theColor 
)

Definition at line 3 of file bigbutton.qc.

References entity(), and NEW.

Referenced by XonoticSingleplayerDialog_fill().

4 {
5  entity me;
6  me = NEW(XonoticBigButton);
7  me.configureXonoticBigButton(me, theText, theColor);
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:

◆ XonoticBigButton_configureXonoticBigButton()

void XonoticBigButton_configureXonoticBigButton ( entity  me,
string  theText,
vector  theColor 
)

Definition at line 11 of file bigbutton.qc.

References string_null.

12 {
13  me.configureXonoticButton(me, theText, theColor, string_null);
14 }
string string_null
Definition: nil.qh:9