Xonotic
colorpicker_string.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
colorpicker.qh
"
4
5
#include "../item/image.qh"
6
CLASS
(
XonoticColorpickerString
,
Image
)
7
METHOD
(
XonoticColorpickerString
, configureXonoticColorpickerString,
void
(
entity
,
string
,
string
));
8
METHOD
(
XonoticColorpickerString
, mousePress,
bool
(
XonoticColorpickerString
this
,
vector
pos));
9
METHOD
(
XonoticColorpickerString
, mouseRelease,
float
(
entity
,
vector
));
10
METHOD
(
XonoticColorpickerString
, mouseDrag,
float
(
entity
,
vector
));
11
12
ATTRIB
(
XonoticColorpickerString
,
controlledCvar
,
string
);
13
METHOD
(
XonoticColorpickerString
, loadCvars,
void
(
entity
));
14
METHOD
(
XonoticColorpickerString
, saveCvars,
void
(
entity
));
15
16
ATTRIB
(
XonoticColorpickerString
, prevcoords,
vector
,
'0 0 0'
);
17
ATTRIB
(
XonoticColorpickerString
, image,
string
, SKINGFX_COLORPICKER);
18
ATTRIB
(
XonoticColorpickerString
, imagemargin,
vector
, SKINMARGIN_COLORPICKER);
19
ATTRIB
(
XonoticColorpickerString
, focusable,
float
, 1);
20
METHOD
(
XonoticColorpickerString
, draw,
void
(
entity
));
21
ATTRIB
(
XonoticColorpickerString
, disabledAlpha,
float
, 0.3);
22
ENDCLASS
(
XonoticColorpickerString
)
23
entity
makeXonoticColorpickerString
(
string
theCvar,
string
theDefaultCvar);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
controlledCvar
string controlledCvar
Definition:
menu.qc:16
XonoticColorpickerString
Definition:
colorpicker_string.qh:6
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
Image
Definition:
image.qh:4
colorpicker.qh
makeXonoticColorpickerString
entity makeXonoticColorpickerString(string theCvar, string theDefaultCvar)
Definition:
colorpicker_string.qc:5
menu
xonotic
colorpicker_string.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13