Xonotic
weaponslist.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
listbox.qh
"
4
CLASS
(
XonoticWeaponsList
,
XonoticListBox
)
5
METHOD
(
XonoticWeaponsList
, configureXonoticWeaponsList,
void
(
entity
));
6
METHOD
(
XonoticWeaponsList
, toString,
string
(
entity
));
7
ATTRIB
(
XonoticWeaponsList
, rowsPerItem,
float
, 1);
8
METHOD
(
XonoticWeaponsList
, draw,
void
(
entity
));
9
METHOD
(
XonoticWeaponsList
, drawListBoxItem,
void
(
entity
,
int
,
vector
,
bool
,
bool
));
10
METHOD
(
XonoticWeaponsList
, resizeNotify,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
11
METHOD
(
XonoticWeaponsList
, keyDown,
float
(
entity
,
float
,
float
,
float
));
12
ATTRIB
(
XonoticWeaponsList
, realFontSize,
vector
,
'0 0 0'
);
13
ATTRIB
(
XonoticWeaponsList
, realUpperMargin,
float
, 0);
14
METHOD
(
XonoticWeaponsList
, mouseDrag,
float
(
entity
,
vector
));
15
16
ATTRIB
(
XonoticWeaponsList
,
applyButton
,
entity
);
17
ENDCLASS
(
XonoticWeaponsList
)
18
entity
makeXonoticWeaponsList
();
19
void
WeaponsList_MoveUp_Click
(
entity
btn,
entity
me);
20
void
WeaponsList_MoveDown_Click
(
entity
box,
entity
me);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
WeaponsList_MoveDown_Click
void WeaponsList_MoveDown_Click(entity box, entity me)
Definition:
weaponslist.qc:37
listbox.qh
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
makeXonoticWeaponsList
entity makeXonoticWeaponsList()
Definition:
weaponslist.qc:7
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
applyButton
entity applyButton
Definition:
slider.qc:6
XonoticWeaponsList
Definition:
weaponslist.qh:4
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
XonoticListBox
Definition:
listbox.qh:4
WeaponsList_MoveUp_Click
void WeaponsList_MoveUp_Click(entity btn, entity me)
Definition:
weaponslist.qc:29
menu
xonotic
weaponslist.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13