Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
checkbox.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
button.qh
"
4
CLASS
(
CheckBox
,
Button
)
5
METHOD
(
CheckBox
,
configureCheckBox
,
void
(
entity
,
string
,
float
,
string
));
6
METHOD
(
CheckBox
,
draw
,
void
(
entity
));
7
METHOD
(
CheckBox
,
playClickSound
,
void
(
entity
));
8
METHOD
(
CheckBox
,
toString
,
string
(
entity
));
9
METHOD
(
CheckBox
,
setChecked
,
void
(
entity
,
bool
));
10
ATTRIB
(
CheckBox
,
useDownAsChecked
,
float
, 0);
11
ATTRIB
(
CheckBox
,
checked
,
bool
,
false
);
12
void
CheckBox_Click
(
entity
me,
entity
other
);
13
ATTRIB
(
CheckBox
, onClick,
void
(
entity
,
entity
),
CheckBox_Click
);
14
ATTRIB
(
CheckBox
,
srcMulti
,
float
, 0);
15
ATTRIB
(
CheckBox
,
disabled
,
float
, 0);
16
ENDCLASS
(
CheckBox
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
Button
Definition
button.qh:6
Button::ATTRIB
ATTRIB(Button, onClick, void(entity, entity))
CheckBox
Definition
checkbox.qh:4
CheckBox::draw
virtual void draw()
CheckBox::setChecked
virtual void setChecked()
CheckBox::checked
bool checked
Definition
checkbox.qh:11
CheckBox::playClickSound
virtual void playClickSound()
CheckBox::CheckBox_Click
void CheckBox_Click(entity me, entity other)
CheckBox::disabled
float disabled
Definition
checkbox.qh:15
CheckBox::srcMulti
float srcMulti
Definition
checkbox.qh:14
CheckBox::toString
virtual void toString()
CheckBox::configureCheckBox
virtual void configureCheckBox()
CheckBox::useDownAsChecked
float useDownAsChecked
Definition
checkbox.qh:10
other
entity other
Definition
csprogsdefs.qc:14
false
#define false
Definition
csprogsdefs.qh:6
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
menu
item
checkbox.qh
Generated on
for Xonotic QuakeC by
1.14.0