Xonotic
commandbutton.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
button.qh
"
4
CLASS
(
XonoticCommandButton
,
XonoticButton
)
5
METHOD
(
XonoticCommandButton
, configureXonoticCommandButton,
void
(
entity
,
string
,
vector
,
string
,
int
,
string
));
6
ATTRIB
(
XonoticCommandButton
, onClickCommand,
string
);
7
ATTRIB
(
XonoticCommandButton
,
flags
,
int
, 0);
8
ENDCLASS
(
XonoticCommandButton
)
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
XonoticButton
Definition:
button.qh:4
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
XonoticCommandButton
Definition:
commandbutton.qh:4
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
makeXonoticCommandButton
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
Definition:
commandbutton.qc:10
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
button.qh
flags
float flags
Definition:
csprogsdefs.qc:129
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
makeXonoticCommandButton_T
entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
Definition:
commandbutton.qc:3
menu
xonotic
commandbutton.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13