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
8
CLASS
(
MenuItem
,
Object
)
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);
27
ATTRIB
(
MenuItem
,
parent
,
entity
);
28
ATTRIB
(
MenuItem
, preferredFocusPriority,
float
, 0);
29
ATTRIB
(
MenuItem
,
origin
,
vector
,
'0 0 0'
);
30
ATTRIB
(
MenuItem
,
size
,
vector
,
'0 0 0'
);
31
ATTRIB
(
MenuItem
, tooltip,
string
);
32
ENDCLASS
(
MenuItem
)
Object
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
skin.qh
parent
entity parent
Definition:
animhost.qc:7
entity
entity() spawn
origin
origin
Definition:
ent_cs.qc:114
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
size
vector size
Definition:
csprogsdefs.qc:114
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
MenuItem
Definition:
item.qh:8
draw.qh
menu.qh
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
menu
item.qh
Generated on Thu Mar 17 2022 17:26:27 for Xonotic by
1.8.13