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);
11 ATTRIB(XonoticColorButton, useDownAsChecked, float, 1);
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);