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

Go to the source code of this file.

Classes

class  XonoticSlider
 

Functions

entity makeXonoticSlider (float, float, float, string)
 
entity makeXonoticSlider_T (float, float, float, string, string theTooltip)
 

Function Documentation

◆ makeXonoticSlider()

entity makeXonoticSlider ( float  ,
float  ,
float  ,
string   
)

Definition at line 10 of file slider.qc.

References makeXonoticSlider_T(), and string_null.

11 {
12  return makeXonoticSlider_T(theValueMin, theValueMax, theValueStep, theCvar, string_null);
13 }
string string_null
Definition: nil.qh:9
entity makeXonoticSlider_T(float theValueMin, float theValueMax, float theValueStep, string theCvar, string theTooltip)
Definition: slider.qc:3
+ Here is the call graph for this function:

◆ makeXonoticSlider_T()

entity makeXonoticSlider_T ( float  ,
float  ,
float  ,
string  ,
string  theTooltip 
)

Definition at line 3 of file slider.qc.

References entity(), and NEW.

Referenced by makeXonoticSlider().

4 {
5  entity me;
6  me = NEW(XonoticSlider);
7  me.configureXonoticSlider(me, theValueMin, theValueMax, theValueStep, theCvar, 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: