Xonotic
checkbox.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/checkbox.qh"
5  METHOD(XonoticCheckBox, configureXonoticCheckBox, void(entity, float, float, string, string, string));
6  METHOD(XonoticCheckBox, setChecked, void(entity, float));
7  ATTRIB(XonoticCheckBox, fontSize, float, SKINFONTSIZE_NORMAL);
8  ATTRIB(XonoticCheckBox, image, string, SKINGFX_CHECKBOX);
9  ATTRIB(XonoticCheckBox, yesValue, float, 1);
10  ATTRIB(XonoticCheckBox, noValue, float, 0);
11 
12  ATTRIB(XonoticCheckBox, color, vector, SKINCOLOR_CHECKBOX_N);
13  ATTRIB(XonoticCheckBox, colorC, vector, SKINCOLOR_CHECKBOX_C);
14  ATTRIB(XonoticCheckBox, colorF, vector, SKINCOLOR_CHECKBOX_F);
15  ATTRIB(XonoticCheckBox, colorD, vector, SKINCOLOR_CHECKBOX_D);
16 
18  METHOD(XonoticCheckBox, loadCvars, void(entity));
19  METHOD(XonoticCheckBox, saveCvars, void(entity));
21 
22  ATTRIB(XonoticCheckBox, alpha, float, SKINALPHA_TEXT);
23  ATTRIB(XonoticCheckBox, disabledAlpha, float, SKINALPHA_DISABLED);
24  ATTRIB(XonoticCheckBox, linkedCheckBox, entity);
26 entity makeXonoticCheckBox_T(float, string, string, string);
27 entity makeXonoticCheckBox(float, string, string);
28 entity makeXonoticCheckBoxEx_T(float, float, string, string, string);
29 entity makeXonoticCheckBoxEx(float, float, string, string);
vector color
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
entity makeXonoticCheckBoxEx(float, float, string, string)
Definition: checkbox.qc:40
entity makeXonoticCheckBox_T(float, string, string, string)
Definition: checkbox.qc:3
entity makeXonoticCheckBoxEx_T(float, float, string, string, string)
Definition: checkbox.qc:33
entity makeXonoticCheckBox(float, string, string)
Definition: checkbox.qc:28
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
vector colorF
Definition: borderimage.qh:25