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, string_null)
10 ATTRIB(XonoticCheckBoxString, noString, string, string_null)
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)
17 ATTRIB(XonoticCheckBoxString, cvarName, string, string_null)
18 METHOD(XonoticCheckBoxString, loadCvars, void(entity));
19 METHOD(XonoticCheckBoxString, saveCvars, void(entity));
20 ATTRIB(XonoticCheckBoxString, sendCvars, float, 0)
22 ATTRIB(XonoticCheckBoxString, alpha, float, SKINALPHA_TEXT)
23 ATTRIB(XonoticCheckBoxString, disabledAlpha, float, SKINALPHA_DISABLED)
24 ENDCLASS(XonoticCheckBoxString)
25 entity makeXonoticCheckBoxString(string, string, string, string);