Xonotic
container.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
menu/item.qh
>
4
5
CLASS
(
Container
,
MenuItem
)
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);
29
ATTRIB
(
Container
,
firstChild
,
entity
);
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
));
38
ENDCLASS
(
Container
)
39
40
.entity
nextSibling
;
41
.entity
prevSibling
;
42
.float
resized
;
43
.vector
Container_origin
;
44
.vector
Container_size
;
45
.vector
Container_fontscale
;
46
.float
Container_alpha
;
47
.vector
Container_save_shift
;
48
.vector
Container_save_scale
;
49
.vector
Container_save_fontscale
;
50
.float
Container_save_alpha
;
Container_save_scale
vector Container_save_scale
Definition:
container.qh:48
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
Container
Definition:
container.qh:5
entity
entity() spawn
firstChild
entity firstChild
Definition:
menu_cmd.qc:10
resized
float resized
Definition:
container.qh:42
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
MenuItem
Definition:
item.qh:8
prevSibling
entity prevSibling
Definition:
container.qh:41
item.qh
Container_fontscale
vector Container_fontscale
Definition:
container.qh:45
Container_alpha
float Container_alpha
Definition:
container.qh:46
nextSibling
entity nextSibling
Definition:
container.qh:40
Container_save_fontscale
vector Container_save_fontscale
Definition:
container.qh:49
Container_origin
vector Container_origin
Definition:
container.qh:43
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
Container_save_shift
vector Container_save_shift
Definition:
container.qh:47
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
Container_save_alpha
float Container_save_alpha
Definition:
container.qh:50
Container_size
vector Container_size
Definition:
container.qh:44
menu
item
container.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13