Xonotic
Main Page
Related Pages
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
+
Functions
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
v
w
x
+
Variables
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
y
z
+
Files
File List
+
File Members
+
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
+
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
+
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
+
Enumerator
i
m
o
p
r
s
t
+
Macros
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
•
All
Classes
Files
Functions
Variables
Typedefs
Enumerator
Macros
Pages
tab.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/tab.qh"
4
CLASS
(
XonoticTab
,
Tab
)
5
// still to be customized by user
6
/*
7
ATTRIB(XonoticTab, intendedWidth, float, 0);
8
ATTRIB(XonoticTab, rows, float, 3);
9
ATTRIB(XonoticTab, columns, float, 2);
10
*/
11
METHOD
(
XonoticTab
, showNotify,
void
(
entity
));
12
13
ATTRIB
(
XonoticTab
, marginTop,
float
, 0);
// pixels
14
ATTRIB
(
XonoticTab
, marginBottom,
float
, 0);
// pixels
15
ATTRIB
(
XonoticTab
, marginLeft,
float
, 0);
// pixels
16
ATTRIB
(
XonoticTab
, marginRight,
float
, 0);
// pixels
17
ATTRIB
(
XonoticTab
, columnSpacing,
float
, SKINMARGIN_COLUMNS);
// pixels
18
ATTRIB
(
XonoticTab
, rowSpacing,
float
, SKINMARGIN_ROWS);
// pixels
19
ATTRIB
(
XonoticTab
, rowHeight,
float
, SKINFONTSIZE_NORMAL * SKINHEIGHT_NORMAL);
// pixels
20
21
ATTRIB
(
XonoticTab
, backgroundImage,
string
);
22
23
// using "titleTooltip" instead of "tooltip" so that
24
// the tooltip search function doesn't find it
25
// .tooltip should be set only in the item displaying the tab title
26
ATTRIB
(
XonoticTab
, titleTooltip,
string
);
27
ENDCLASS
(
XonoticTab
)
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
XonoticTab
Definition:
tab.qh:4
Tab
Definition:
tab.qh:4
entity
entity() spawn
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
menu
xonotic
tab.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13