Xonotic
slider.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/slider.qh"
5  METHOD(XonoticSlider, configureXonoticSlider, void(entity, float, float, float, string, string));
6  METHOD(XonoticSlider, setValue, void(entity, float));
7  METHOD(XonoticSlider, setValue_noAnim, void(entity, float));
8  ATTRIB(XonoticSlider, fontSize, float, SKINFONTSIZE_NORMAL);
9  ATTRIB(XonoticSlider, valueSpace, float, SKINWIDTH_SLIDERTEXT);
10  ATTRIB(XonoticSlider, image, string, SKINGFX_SLIDER);
11  ATTRIB(XonoticSlider, tolerance, vector, '0.2 2 0');
12  ATTRIB(XonoticSlider, align, float, 0.5);
13  ATTRIB(XonoticSlider, color, vector, SKINCOLOR_SLIDER_N);
14  ATTRIB(XonoticSlider, colorC, vector, SKINCOLOR_SLIDER_C);
15  ATTRIB(XonoticSlider, colorF, vector, SKINCOLOR_SLIDER_F);
16  ATTRIB(XonoticSlider, colorD, vector, SKINCOLOR_SLIDER_D);
17  ATTRIB(XonoticSlider, color2, vector, SKINCOLOR_SLIDER_S);
18 
20  METHOD(XonoticSlider, loadCvars, void(entity));
21  METHOD(XonoticSlider, saveCvars, void(entity));
23 
24  ATTRIB(XonoticSlider, alpha, float, SKINALPHA_TEXT);
25  ATTRIB(XonoticSlider, disabledAlpha, float, SKINALPHA_DISABLED);
27 entity makeXonoticSlider_T(float, float, float, string, string theTooltip);
28 entity makeXonoticSlider(float, float, float, string);
vector color
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
entity makeXonoticSlider_T(float, float, float, string, string theTooltip)
Definition: slider.qc:3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticSlider(float, float, float, string)
Definition: slider.qc:10
Definition: slider.qh:6
vector colorF
Definition: borderimage.qh:25