Xonotic
item.qh
Go to the documentation of this file.
1 #pragma once
2 
3 // convenience
4 #include "skin.qh"
5 #include "draw.qh"
6 #include "menu.qh"
7 
9  METHOD(MenuItem, draw, void(MenuItem));
10  METHOD(MenuItem, keyDown, float(MenuItem, float, float, float));
11  METHOD(MenuItem, keyUp, float(MenuItem, float, float, float));
12  METHOD(MenuItem, mouseMove, float(MenuItem, vector));
13  METHOD(MenuItem, mousePress, bool(MenuItem this, vector pos));
14  METHOD(MenuItem, mouseDrag, float(MenuItem, vector));
15  METHOD(MenuItem, mouseRelease, float(MenuItem, vector));
16  METHOD(MenuItem, focusEnter, void(MenuItem));
17  METHOD(MenuItem, focusLeave, void(MenuItem));
18  METHOD(MenuItem, resizeNotify, void(MenuItem, vector, vector, vector, vector));
19  METHOD(MenuItem, relinquishFocus, void(MenuItem));
20  METHOD(MenuItem, showNotify, void(MenuItem));
21  METHOD(MenuItem, hideNotify, void(MenuItem));
22  METHOD(MenuItem, toString, string(MenuItem));
23  METHOD(MenuItem, destroy, void(MenuItem));
24  ATTRIB(MenuItem, focused, float, 0);
25  ATTRIB(MenuItem, focusable, float, 0);
26  ATTRIB(MenuItem, allowFocusSound, float, 0);
28  ATTRIB(MenuItem, preferredFocusPriority, float, 0);
30  ATTRIB(MenuItem, size, vector, '0 0 0');
31  ATTRIB(MenuItem, tooltip, string);
CLASS(Object) Object
Definition: oo.qh:318
entity parent
Definition: animhost.qc:7
entity() spawn
origin
Definition: ent_cs.qc:114
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
vector size
Definition: csprogsdefs.qc:114
#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