Xonotic
textslider.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item/textslider.qh"
5  METHOD(XonoticTextSlider, configureXonoticTextSlider, void(entity, string, string));
6  METHOD(XonoticTextSlider, setValue, void(entity, float));
7  METHOD(XonoticTextSlider, setValue_noAnim, void(entity, float));
8  METHOD(XonoticTextSlider, configureXonoticTextSliderValues, void(entity));
9  ATTRIB(XonoticTextSlider, fontSize, float, SKINFONTSIZE_NORMAL);
10  ATTRIB(XonoticTextSlider, valueSpace, float, SKINWIDTH_SLIDERTEXT);
11  ATTRIB(XonoticTextSlider, image, string, SKINGFX_SLIDER);
12  ATTRIB(XonoticTextSlider, tolerance, vector, '0.2 2 0');
13  ATTRIB(XonoticTextSlider, align, float, 0.5);
14  ATTRIB(XonoticTextSlider, color, vector, SKINCOLOR_SLIDER_N);
15  ATTRIB(XonoticTextSlider, colorC, vector, SKINCOLOR_SLIDER_C);
16  ATTRIB(XonoticTextSlider, colorF, vector, SKINCOLOR_SLIDER_F);
17  ATTRIB(XonoticTextSlider, colorD, vector, SKINCOLOR_SLIDER_D);
18  ATTRIB(XonoticTextSlider, color2, vector, SKINCOLOR_SLIDER_S);
19 
21  METHOD(XonoticTextSlider, loadCvars, void(entity));
22  METHOD(XonoticTextSlider, saveCvars, void(entity));
24 
25  ATTRIB(XonoticTextSlider, alpha, float, SKINALPHA_TEXT);
26  ATTRIB(XonoticTextSlider, disabledAlpha, float, SKINALPHA_DISABLED);
28 entity makeXonoticTextSlider_T(string, string theTooltip);
29 entity makeXonoticTextSlider(string); // note: you still need to call addValue and configureXonoticTextSliderValues!
vector color
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity makeXonoticTextSlider(string)
Definition: textslider.qc:10
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
entity makeXonoticTextSlider_T(string, string theTooltip)
Definition: textslider.qc:3
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
vector colorF
Definition: borderimage.qh:25