Xonotic
picker.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "../item.qh"
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);
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');
float alpha
Definition: items.qc:14
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: item.qh:8
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticPicker()
Definition: picker.qc:5