Xonotic
slider.qh
Go to the documentation of this file.
1 #pragma once
2 
3 // Note:
4 // to use this, you FIRST call configureSliderVisuals, then configureSliderValues
5 #include "label.qh"
7  METHOD(Slider, resizeNotify, void(entity, vector, vector, vector, vector));
8  METHOD(Slider, configureSliderVisuals, void(entity, float, float, float, string));
9  METHOD(Slider, configureSliderValues, void(entity, float, float, float, float, float, float));
10  METHOD(Slider, draw, void(entity));
11  METHOD(Slider, keyDown, float(entity, float, float, float));
12  METHOD(Slider, keyUp, float(entity, float, float, float));
13  METHOD(Slider, mousePress, bool(Slider this, vector pos));
14  METHOD(Slider, mouseDrag, float(entity, vector));
15  METHOD(Slider, mouseRelease, float(entity, vector));
16  METHOD(Slider, valueToText, string(entity, float));
17  METHOD(Slider, toString, string(entity));
18  METHOD(Slider, setValue_allowAnim, void(entity, float, bool));
19  METHOD(Slider, setValue_noAnim, void(entity, float));
20  METHOD(Slider, setValue, void(entity, float));
21  METHOD(Slider, setSliderValue, void(entity, float));
22  METHOD(Slider, showNotify, void(entity));
23  ATTRIB(Slider, src, string);
24  ATTRIB(Slider, focusable, float, 1);
25  ATTRIB(Slider, allowFocusSound, float, 1);
26  ATTRIB(Slider, value, float, 0);
27  ATTRIB(Slider, animated, float, 1);
28  ATTRIB(Slider, sliderValue, float, 0);
29  ATTRIB(Slider, sliderAnim, entity);
30  ATTRIB(Slider, valueMin, float, 0);
31  ATTRIB(Slider, valueMax, float, 0);
32  ATTRIB(Slider, valueStep, float, 0);
33  ATTRIB(Slider, valueDigits, float, 0);
34  ATTRIB(Slider, valueKeyStep, float, 0);
35  ATTRIB(Slider, valuePageStep, float, 0);
36  ATTRIB(Slider, valueDisplayMultiplier, float, 1.0);
37  ATTRIB(Slider, textSpace, float, 0);
38  ATTRIB(Slider, controlWidth, float, 0);
39  ATTRIB(Slider, pressed, float, 0);
40  ATTRIB(Slider, pressOffset, float, 0);
41  ATTRIB(Slider, previousValue, float, 0);
42  ATTRIB(Slider, tolerance, vector, '0 0 0'); // drag tolerance
43  ATTRIB(Slider, disabled, float, 0);
44  ATTRIB(Slider, color, vector, '1 1 1');
45  ATTRIB(Slider, color2, vector, '1 1 1');
46  ATTRIB(Slider, colorD, vector, '1 1 1');
47  ATTRIB(Slider, colorC, vector, '1 1 1');
48  ATTRIB(Slider, colorF, vector, '1 1 1');
49  ATTRIB(Slider, disabledAlpha, float, 0.3);
vector color
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
bool disabled
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
Definition: label.qh:4
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector colorC
Definition: borderimage.qh:25
#define ENDCLASS(cname)
Definition: oo.qh:269
bool pressed
Definition: picker.qc:3
Definition: slider.qh:6
vector colorF
Definition: borderimage.qh:25