Xonotic
checkbox.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "button.qh"
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);
13  ATTRIB(CheckBox, onClick, void(entity, entity), CheckBox_Click);
14  ATTRIB(CheckBox, srcMulti, float, 0);
15  ATTRIB(CheckBox, disabled, float, 0);
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
Definition: button.qh:6
bool disabled
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
entity other
Definition: csprogsdefs.qc:14
#define ATTRIB(...)
Definition: oo.qh:136
void CheckBox_Click(entity me, entity other)
Definition: checkbox.qc:7
#define ENDCLASS(cname)
Definition: oo.qh:269