Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
void
XonoticCommandButton_Click
(
entity
me,
entity
other
);
13
14
#ifndef COMMANDBUTTON_CLOSE
15
# define COMMANDBUTTON_CLOSE 1
16
# define COMMANDBUTTON_APPLY 2
17
//# define COMMANDBUTTON_REVERT 4
18
#endif
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
XonoticButton
Definition
button.qh:4
XonoticCommandButton
Definition
commandbutton.qh:4
XonoticCommandButton::flags
int flags
Definition
commandbutton.qh:7
XonoticCommandButton::ATTRIB
ATTRIB(XonoticCommandButton, onClickCommand, string)
XonoticCommandButton::configureXonoticCommandButton
virtual void configureXonoticCommandButton()
makeXonoticCommandButton
entity makeXonoticCommandButton(string theText, vector theColor, string theCommand, int theFlags)
Definition
commandbutton.qc:11
makeXonoticCommandButton_T
entity makeXonoticCommandButton_T(string theText, vector theColor, string theCommand, int theFlags, string theTooltip)
Definition
commandbutton.qc:4
XonoticCommandButton_Click
void XonoticCommandButton_Click(entity me, entity other)
Definition
commandbutton.qc:16
other
entity other
Definition
csprogsdefs.qc:14
button.qh
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
vector
vector
Definition
self.qh:92
menu
xonotic
commandbutton.qh
Generated on
for Xonotic QuakeC by
1.14.0