Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
listbox.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
../item/listbox.qh
"
4
CLASS
(
XonoticListBox
,
ListBox
)
5
METHOD
(
XonoticListBox
,
configureXonoticListBox
,
void
(
entity
));
6
ATTRIB
(
XonoticListBox
,
fontSize
,
float
, SKINFONTSIZE_NORMAL);
7
ATTRIB
(
XonoticListBox
,
scrollbarWidth
,
float
, SKINWIDTH_SCROLLBAR);
8
ATTRIB
(
XonoticListBox
,
src
,
string
, SKINGFX_SCROLLBAR);
9
ATTRIB
(
XonoticListBox
,
tolerance
,
vector
, '2 0.2 0');
10
ATTRIB
(
XonoticListBox
,
rowsPerItem
,
float
, 1);
11
METHOD
(
XonoticListBox
,
resizeNotify
,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
12
ATTRIB
(
XonoticListBox
,
color
,
vector
, SKINCOLOR_SCROLLBAR_N);
13
ATTRIB
(
XonoticListBox
,
colorF
,
vector
, SKINCOLOR_SCROLLBAR_F);
14
ATTRIB
(
XonoticListBox
,
color2
,
vector
, SKINCOLOR_SCROLLBAR_S);
15
ATTRIB
(
XonoticListBox
,
colorC
,
vector
, SKINCOLOR_SCROLLBAR_C);
16
ATTRIB
(
XonoticListBox
,
colorBG
,
vector
, SKINCOLOR_LISTBOX_BACKGROUND);
17
ATTRIB
(
XonoticListBox
,
alphaBG
,
float
, SKINALPHA_LISTBOX_BACKGROUND);
18
ENDCLASS
(
XonoticListBox
)
19
entity
makeXonoticListBox
();
entity
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ListBox
Definition
listbox.qh:4
ListBox::ATTRIB
ATTRIB(ListBox, src, string)
XonoticListBox
Definition
listbox.qh:4
XonoticListBox::color
vector color
Definition
listbox.qh:12
XonoticListBox::resizeNotify
virtual void resizeNotify()
XonoticListBox::colorC
vector colorC
Definition
listbox.qh:15
XonoticListBox::alphaBG
float alphaBG
Definition
listbox.qh:17
XonoticListBox::tolerance
vector tolerance
Definition
listbox.qh:9
XonoticListBox::configureXonoticListBox
virtual void configureXonoticListBox()
XonoticListBox::fontSize
float fontSize
Definition
listbox.qh:6
XonoticListBox::colorBG
vector colorBG
Definition
listbox.qh:16
XonoticListBox::colorF
vector colorF
Definition
listbox.qh:13
XonoticListBox::scrollbarWidth
float scrollbarWidth
Definition
listbox.qh:7
XonoticListBox::color2
vector color2
Definition
listbox.qh:14
XonoticListBox::rowsPerItem
float rowsPerItem
Definition
listbox.qh:10
XonoticListBox::src
string src
Definition
listbox.qh:8
listbox.qh
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
makeXonoticListBox
entity makeXonoticListBox()
Definition
listbox.qc:3
menu
xonotic
listbox.qh
Generated on
for Xonotic QuakeC by
1.14.0