Xonotic
picker.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item.qh"
4
CLASS
(
XonoticPicker
,
MenuItem
)
5
METHOD
(
XonoticPicker
, configureXonoticPicker,
void
(
entity
));
6
METHOD
(
XonoticPicker
, mousePress,
bool
(
XonoticPicker
this
,
vector
pos));
7
METHOD
(
XonoticPicker
, mouseRelease,
float
(
entity
,
vector
));
8
METHOD
(
XonoticPicker
, mouseMove,
float
(
entity
,
vector
));
9
METHOD
(
XonoticPicker
, mouseDrag,
float
(
entity
,
vector
));
10
METHOD
(
XonoticPicker
, keyDown,
float
(
entity
,
float
,
float
,
float
));
11
METHOD
(
XonoticPicker
, draw,
void
(
entity
));
12
ATTRIB
(
XonoticPicker
, focusable,
float
, 1);
13
ATTRIB
(
XonoticPicker
,
disabled
,
float
, 0);
14
ATTRIB
(
XonoticPicker
,
alpha
,
float
, 1);
15
ATTRIB
(
XonoticPicker
, disabledAlpha,
float
, SKINALPHA_DISABLED);
16
17
ATTRIB
(
XonoticPicker
, rows,
float
, 3);
18
ATTRIB
(
XonoticPicker
, columns,
float
, 2);
19
20
METHOD
(
XonoticPicker
, moveFocus,
void
(
entity
,
vector
,
vector
));
21
METHOD
(
XonoticPicker
, cellSelect,
void
(
entity
,
vector
));
22
METHOD
(
XonoticPicker
, cellDraw,
void
(
entity
,
vector
,
vector
));
23
METHOD
(
XonoticPicker
, cellIsValid,
bool
(
entity
,
vector
));
24
ATTRIB
(
XonoticPicker
, realCellSize,
vector
,
'0 0 0'
);
25
ATTRIB
(
XonoticPicker
, selectedCell,
vector
,
'-1 -1 0'
);
26
ATTRIB
(
XonoticPicker
, focusedCell,
vector
,
'-1 -1 0'
);
27
ATTRIB
(
XonoticPicker
, focusedCellAlpha,
float
, 0);
28
ATTRIB
(
XonoticPicker
, focusedCellTime,
float
, 0);
29
ATTRIB
(
XonoticPicker
, pressedCell,
vector
,
'-1 -1 0'
);
30
ENDCLASS
(
XonoticPicker
)
31
entity
makeXonoticPicker
();
alpha
float alpha
Definition:
items.qc:14
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
disabled
bool disabled
Definition:
colorpicker_string.qc:3
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
XonoticPicker
Definition:
picker.qh:4
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
MenuItem
Definition:
item.qh:8
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
makeXonoticPicker
entity makeXonoticPicker()
Definition:
picker.qc:5
menu
xonotic
picker.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13