Xonotic
commandbutton.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "button.qh"
5  METHOD(XonoticCommandButton, configureXonoticCommandButton, void(entity, string, vector, string, int, string));
6  ATTRIB(XonoticCommandButton, onClickCommand, string);
9 
10 entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip);
11 entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags);
12 
13 #ifndef COMMANDBUTTON_CLOSE
14 # define COMMANDBUTTON_CLOSE 1
15 # define COMMANDBUTTON_APPLY 2
16 //# define COMMANDBUTTON_REVERT 4
17 #endif
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
vector(float skel, float bonenum) _skel_get_boneabs_hidden
float flags
Definition: csprogsdefs.qc:129
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
Definition: commandbutton.qc:3