Xonotic
textslider.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/textslider.qh"
4
CLASS
(
XonoticTextSlider
,
TextSlider
)
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
20
ATTRIB
(
XonoticTextSlider
,
controlledCvar
,
string
);
21
METHOD
(
XonoticTextSlider
, loadCvars,
void
(
entity
));
22
METHOD
(
XonoticTextSlider
, saveCvars,
void
(
entity
));
23
ATTRIB
(
XonoticTextSlider
,
sendCvars
,
float
, 0);
24
25
ATTRIB
(
XonoticTextSlider
,
alpha
,
float
, SKINALPHA_TEXT);
26
ATTRIB
(
XonoticTextSlider
, disabledAlpha,
float
, SKINALPHA_DISABLED);
27
ENDCLASS
(
XonoticTextSlider
)
28
entity
makeXonoticTextSlider_T
(
string
,
string
theTooltip);
29
entity
makeXonoticTextSlider
(
string
);
// note: you still need to call addValue and configureXonoticTextSliderValues!
color
vector color
Definition:
dpextensions.qc:2415
alpha
float alpha
Definition:
items.qc:14
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
makeXonoticTextSlider
entity makeXonoticTextSlider(string)
Definition:
textslider.qc:10
entity
entity() spawn
controlledCvar
string controlledCvar
Definition:
menu.qc:16
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
makeXonoticTextSlider_T
entity makeXonoticTextSlider_T(string, string theTooltip)
Definition:
textslider.qc:3
sendCvars
bool sendCvars
Definition:
util.qc:762
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
colorC
vector colorC
Definition:
borderimage.qh:25
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
colorF
vector colorF
Definition:
borderimage.qh:25
TextSlider
Definition:
textslider.qh:6
XonoticTextSlider
Definition:
textslider.qh:4
menu
xonotic
textslider.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13