Xonotic
checkbox_string.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/checkbox.qh"
4
CLASS
(
XonoticCheckBoxString
,
CheckBox
)
5
METHOD
(
XonoticCheckBoxString
, configureXonoticCheckBoxString,
void
(
entity
,
string
,
string
,
string
,
string
));
6
METHOD
(
XonoticCheckBoxString
, setChecked,
void
(
entity
,
float
));
7
ATTRIB
(
XonoticCheckBoxString
, fontSize,
float
, SKINFONTSIZE_NORMAL);
8
ATTRIB
(
XonoticCheckBoxString
, image,
string
, SKINGFX_CHECKBOX);
9
ATTRIB
(
XonoticCheckBoxString
, yesString,
string
);
10
ATTRIB
(
XonoticCheckBoxString
, noString,
string
);
11
12
ATTRIB
(
XonoticCheckBoxString
,
color
,
vector
, SKINCOLOR_CHECKBOX_N);
13
ATTRIB
(
XonoticCheckBoxString
,
colorC
,
vector
, SKINCOLOR_CHECKBOX_C);
14
ATTRIB
(
XonoticCheckBoxString
,
colorF
,
vector
, SKINCOLOR_CHECKBOX_F);
15
ATTRIB
(
XonoticCheckBoxString
, colorD,
vector
, SKINCOLOR_CHECKBOX_D);
16
17
ATTRIB
(
XonoticCheckBoxString
,
controlledCvar
,
string
);
18
METHOD
(
XonoticCheckBoxString
, loadCvars,
void
(
entity
));
19
METHOD
(
XonoticCheckBoxString
, saveCvars,
void
(
entity
));
20
ATTRIB
(
XonoticCheckBoxString
,
sendCvars
,
float
, 0);
21
22
ATTRIB
(
XonoticCheckBoxString
,
alpha
,
float
, SKINALPHA_TEXT);
23
ATTRIB
(
XonoticCheckBoxString
, disabledAlpha,
float
, SKINALPHA_DISABLED);
24
ENDCLASS
(
XonoticCheckBoxString
)
25
entity
makeXonoticCheckBoxString
(
string
,
string
,
string
,
string
);
color
vector color
Definition:
dpextensions.qc:2415
alpha
float alpha
Definition:
items.qc:14
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
XonoticCheckBoxString
Definition:
checkbox_string.qh:4
entity
entity() spawn
controlledCvar
string controlledCvar
Definition:
menu.qc:16
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
CheckBox
Definition:
checkbox.qh:4
makeXonoticCheckBoxString
entity makeXonoticCheckBoxString(string, string, string, string)
Definition:
checkbox_string.qc:3
sendCvars
bool sendCvars
Definition:
util.qc:762
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
colorC
vector colorC
Definition:
borderimage.qh:25
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
colorF
vector colorF
Definition:
borderimage.qh:25
menu
xonotic
checkbox_string.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13