Xonotic
colorbutton.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/radiobutton.qh"
4
CLASS
(
XonoticColorButton
,
RadioButton
)
5
METHOD
(
XonoticColorButton
, configureXonoticColorButton,
void
(
entity
,
float
,
float
,
float
));
6
METHOD
(
XonoticColorButton
, setChecked,
void
(
entity
,
float
));
7
METHOD
(
XonoticColorButton
, draw,
void
(
entity
));
8
ATTRIB
(
XonoticColorButton
, fontSize,
float
, 0);
9
ATTRIB
(
XonoticColorButton
, image,
string
, SKINGFX_COLORBUTTON);
10
11
ATTRIB
(
XonoticColorButton
, useDownAsChecked,
float
, 1);
12
13
ATTRIB
(
XonoticColorButton
, cvarPart,
float
, 0);
14
ATTRIB
(
XonoticColorButton
,
controlledCvar
,
string
);
15
ATTRIB
(
XonoticColorButton
, cvarValueFloat,
float
, 0);
16
METHOD
(
XonoticColorButton
, loadCvars,
void
(
entity
));
17
METHOD
(
XonoticColorButton
, saveCvars,
void
(
entity
));
18
ENDCLASS
(
XonoticColorButton
)
19
entity
makeXonoticColorButton
(
float
,
float
,
float
);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
RadioButton
Definition:
radiobutton.qh:5
makeXonoticColorButton
entity makeXonoticColorButton(float, float, float)
Definition:
colorbutton.qc:3
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
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
XonoticColorButton
Definition:
colorbutton.qh:4
menu
xonotic
colorbutton.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13