Xonotic
radiobutton.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/radiobutton.qh"
5  METHOD(XonoticRadioButton, configureXonoticRadioButton, void(entity, float, string, string, string, string));
6  METHOD(XonoticRadioButton, draw, void(entity));
7  METHOD(XonoticRadioButton, setChecked, void(entity, float));
8  ATTRIB(XonoticRadioButton, fontSize, float, SKINFONTSIZE_NORMAL);
9  ATTRIB(XonoticRadioButton, image, string, SKINGFX_RADIOBUTTON);
10  ATTRIB(XonoticRadioButton, color, vector, SKINCOLOR_RADIOBUTTON_N);
11  ATTRIB(XonoticRadioButton, colorC, vector, SKINCOLOR_RADIOBUTTON_C);
12  ATTRIB(XonoticRadioButton, colorF, vector, SKINCOLOR_RADIOBUTTON_F);
13  ATTRIB(XonoticRadioButton, colorD, vector, SKINCOLOR_RADIOBUTTON_D);
14 
16  ATTRIB(XonoticRadioButton, cvarValue, string);
17  ATTRIB(XonoticRadioButton, cvarOffValue, string);
18  ATTRIB(XonoticRadioButton, cvarValueIsAnotherCvar, float, 0);
19  METHOD(XonoticRadioButton, loadCvars, void(entity));
20  METHOD(XonoticRadioButton, saveCvars, void(entity));
21 
22  ATTRIB(XonoticRadioButton, alpha, float, SKINALPHA_TEXT);
23  ATTRIB(XonoticRadioButton, disabledAlpha, float, SKINALPHA_DISABLED);
25 entity makeXonoticRadioButton_T(float, string, string, string, string theTooltip);
26 entity makeXonoticRadioButton(float, string, string, string);
vector color
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
entity makeXonoticRadioButton(float, string, string, string)
Definition: radiobutton.qc:10
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticRadioButton_T(float, string, string, string, string theTooltip)
Definition: radiobutton.qc:3
vector colorF
Definition: borderimage.qh:25