Xonotic
colorbutton.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/radiobutton.qh"
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);
15  ATTRIB(XonoticColorButton, cvarValueFloat, float, 0);
16  METHOD(XonoticColorButton, loadCvars, void(entity));
17  METHOD(XonoticColorButton, saveCvars, void(entity));
19 entity makeXonoticColorButton(float, float, float);
CLASS(Object) Object
Definition: oo.qh:318
entity makeXonoticColorButton(float, float, float)
Definition: colorbutton.qc:3
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
#define ENDCLASS(cname)
Definition: oo.qh:269