Xonotic
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
,
float
));
10
ATTRIB
(
CheckBox
, useDownAsChecked,
float
, 0);
11
ATTRIB
(
CheckBox
, checked,
float
, 0);
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
)
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
button.qh
entity
entity() spawn
Button
Definition:
button.qh:6
disabled
bool disabled
Definition:
colorpicker_string.qc:3
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
other
entity other
Definition:
csprogsdefs.qc:14
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
CheckBox
Definition:
checkbox.qh:4
CheckBox_Click
void CheckBox_Click(entity me, entity other)
Definition:
checkbox.qc:7
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
menu
item
checkbox.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13