Xonotic
container.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include <menu/item.qh>
4 
6  METHOD(Container, draw, void(entity));
7  METHOD(Container, keyUp, float(entity, float, float, float));
8  METHOD(Container, keyDown, float(entity, float, float, float));
9  METHOD(Container, mouseMove, float(entity, vector));
10  METHOD(Container, mousePress, bool(Container this, vector pos));
11  METHOD(Container, mouseDrag, float(entity, vector));
12  METHOD(Container, mouseRelease, float(entity, vector));
13  METHOD(Container, focusLeave, void(entity));
14  METHOD(Container, resizeNotify, void(entity, vector, vector, vector, vector));
15  METHOD(Container, resizeNotifyLie, void(entity, vector, vector, vector, vector, .vector, .vector, .vector));
16  METHOD(Container, addItem, void(entity, entity, vector, vector, float));
17  METHOD(Container, addItemCentered, void(entity, entity, vector, float));
18  METHOD(Container, addItemRightCentered, void(entity, entity, vector, float));
19  METHOD(Container, moveItemAfter, void(entity, entity, entity));
20  METHOD(Container, removeItem, void(entity, entity));
21  METHOD(Container, setFocus, void(entity, entity));
22  METHOD(Container, saveFocus, void(entity));
23  METHOD(Container, setAlphaOf, void(entity, entity, float));
24  METHOD(Container, itemFromPoint, entity(entity, vector));
25  METHOD(Container, showNotify, void(entity));
26  METHOD(Container, hideNotify, void(entity));
27  METHOD(Container, preferredFocusedGrandChild, entity(entity));
28  ATTRIB(Container, focusable, float, 0);
30  ATTRIB(Container, lastChild, entity);
31  ATTRIB(Container, focusedChild, entity);
32  ATTRIB(Container, savedFocus, entity);
33  ATTRIB(Container, shown, float, 0);
34 
35  METHOD(Container, enterSubitem, void(entity, entity));
36  METHOD(Container, enterLieSubitem, void(entity, vector, vector, vector, float));
37  METHOD(Container, leaveSubitem, void(entity));
39 
40 .entity nextSibling;
41 .entity prevSibling;
42 .float resized;
vector Container_save_scale
Definition: container.qh:48
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
float resized
Definition: container.qh:42
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
Definition: item.qh:8
entity prevSibling
Definition: container.qh:41
vector Container_fontscale
Definition: container.qh:45
float Container_alpha
Definition: container.qh:46
entity nextSibling
Definition: container.qh:40
vector Container_save_fontscale
Definition: container.qh:49
vector Container_origin
Definition: container.qh:43
vector(float skel, float bonenum) _skel_get_boneabs_hidden
vector Container_save_shift
Definition: container.qh:47
#define ENDCLASS(cname)
Definition: oo.qh:269
float Container_save_alpha
Definition: container.qh:50
vector Container_size
Definition: container.qh:44