Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
description.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include <
menu/xonotic/listbox.qh
>
4
CLASS
(
XonoticGuideDescription
,
XonoticListBox
)
5
ATTRIB
(
XonoticGuideDescription
,
itemAbsSize
,
vector
, '0 0 0');
6
ATTRIB
(
XonoticGuideDescription
,
realFontSize
,
vector
, '0 0 0');
7
ATTRIB
(
XonoticGuideDescription
,
keepspaceLeft
,
float
, 0);
8
ATTRIB
(
XonoticGuideDescription
,
keepspaceRight
,
float
, 0);
9
ATTRIB
(
XonoticGuideDescription
,
rowsPerItem
,
float
, 1);
10
ATTRIB
(
XonoticGuideDescription
,
selectionDoesntMatter
,
bool
,
true
);
11
ATTRIB
(
XonoticGuideDescription
,
m_description
,
string
,
string_null
);
12
ATTRIB
(
XonoticGuideDescription
,
m_descriptionWrapped
,
string
,
string_null
);
13
14
METHOD
(
XonoticGuideDescription
,
drawListBoxItem
,
void
(
entity
,
int
,
vector
,
bool
,
bool
));
15
METHOD
(
XonoticGuideDescription
,
setDescription
,
void
(
entity
,
string
));
16
METHOD
(
XonoticGuideDescription
,
resizeNotify
,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
17
18
INIT
(
XonoticGuideDescription
)
19
{
20
this.
configureXonoticListBox
(
this
);
21
}
22
ENDCLASS
(
XonoticGuideDescription
)
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ListBox::ATTRIB
ATTRIB(ListBox, src, string)
XonoticGuideDescription
Definition
description.qh:4
XonoticGuideDescription::m_descriptionWrapped
string m_descriptionWrapped
Definition
description.qh:12
XonoticGuideDescription::keepspaceLeft
float keepspaceLeft
Definition
description.qh:7
XonoticGuideDescription::setDescription
virtual void setDescription()
XonoticGuideDescription::itemAbsSize
vector itemAbsSize
Definition
description.qh:5
XonoticGuideDescription::m_description
string m_description
Definition
description.qh:11
XonoticGuideDescription::selectionDoesntMatter
bool selectionDoesntMatter
Definition
description.qh:10
XonoticGuideDescription::XonoticGuideDescription
XonoticGuideDescription()
Definition
description.qh:18
XonoticGuideDescription::keepspaceRight
float keepspaceRight
Definition
description.qh:8
XonoticGuideDescription::rowsPerItem
float rowsPerItem
Definition
description.qh:9
XonoticGuideDescription::realFontSize
vector realFontSize
Definition
description.qh:6
XonoticGuideDescription::drawListBoxItem
virtual void drawListBoxItem()
XonoticGuideDescription::resizeNotify
virtual void resizeNotify()
XonoticListBox
Definition
listbox.qh:4
XonoticListBox::configureXonoticListBox
virtual void configureXonoticListBox()
true
#define true
Definition
csprogsdefs.qh:5
string_null
string string_null
Definition
nil.qh:9
INIT
#define INIT(cname)
Definition
oo.qh:210
CLASS
#define CLASS(...)
Definition
oo.qh:145
ENDCLASS
#define ENDCLASS(cname)
Definition
oo.qh:281
METHOD
#define METHOD(cname, name, prototype)
Definition
oo.qh:269
vector
vector
Definition
self.qh:92
listbox.qh
menu
xonotic
guide
description.qh
Generated on
for Xonotic QuakeC by
1.14.0