3 #include "../item/checkbox.qh"
4 CLASS(XonoticSliderCheckBox, CheckBox)
5 METHOD(XonoticSliderCheckBox, configureXonoticSliderCheckBox, void(entity, float, float, entity, string));
6 METHOD(XonoticSliderCheckBox, setChecked, void(entity, float));
7 METHOD(XonoticSliderCheckBox, draw, void(entity));
8 ATTRIB(XonoticSliderCheckBox, fontSize, float, SKINFONTSIZE_NORMAL);
9 ATTRIB(XonoticSliderCheckBox, image, string, SKINGFX_CHECKBOX);
11 ATTRIB(XonoticSliderCheckBox, color, vector, SKINCOLOR_CHECKBOX_N);
12 ATTRIB(XonoticSliderCheckBox, colorC, vector, SKINCOLOR_CHECKBOX_C);
13 ATTRIB(XonoticSliderCheckBox, colorF, vector, SKINCOLOR_CHECKBOX_F);
14 ATTRIB(XonoticSliderCheckBox, colorD, vector, SKINCOLOR_CHECKBOX_D);
16 ATTRIB(XonoticSliderCheckBox, alpha, float, SKINALPHA_TEXT);
17 ATTRIB(XonoticSliderCheckBox, disabledAlpha, float, SKINALPHA_DISABLED);
19 ATTRIB(XonoticSliderCheckBox, controlledSlider, entity);
20 ATTRIB(XonoticSliderCheckBox, offValue, float, -1);
21 ATTRIB(XonoticSliderCheckBox, inverted, float, 0);
22 ATTRIB(XonoticSliderCheckBox, savedValue, float, -1);
23 ENDCLASS(XonoticSliderCheckBox)
24 entity makeXonoticSliderCheckBox(float, float, entity, string);