Xonotic
languagelist.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
listbox.qh
"
4
CLASS
(
XonoticLanguageList
,
XonoticListBox
)
5
METHOD
(
XonoticLanguageList
, configureXonoticLanguageList,
void
(
entity
));
6
ATTRIB
(
XonoticLanguageList
, rowsPerItem,
float
, 1);
7
METHOD
(
XonoticLanguageList
, drawListBoxItem,
void
(
entity
,
int
,
vector
,
bool
,
bool
));
8
METHOD
(
XonoticLanguageList
, resizeNotify,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
9
METHOD
(
XonoticLanguageList
, setSelected,
void
(
entity
,
float
));
10
METHOD
(
XonoticLanguageList
, loadCvars,
void
(
entity
));
11
METHOD
(
XonoticLanguageList
, saveCvars,
void
(
entity
));
12
13
ATTRIB
(
XonoticLanguageList
, realFontSize,
vector
,
'0 0 0'
);
14
ATTRIB
(
XonoticLanguageList
, realUpperMargin,
float
, 0);
15
ATTRIB
(
XonoticLanguageList
, columnNameOrigin,
float
, 0);
16
ATTRIB
(
XonoticLanguageList
, columnNameSize,
float
, 0);
17
ATTRIB
(
XonoticLanguageList
, columnPercentageOrigin,
float
, 0);
18
ATTRIB
(
XonoticLanguageList
, columnPercentageSize,
float
, 0);
19
20
METHOD
(
XonoticLanguageList
, doubleClickListBoxItem,
void
(
entity
,
float
,
vector
));
21
METHOD
(
XonoticLanguageList
, keyDown,
float
(
entity
,
float
,
float
,
float
));
// enter handling
22
23
METHOD
(
XonoticLanguageList
, destroy,
void
(
entity
));
24
25
ATTRIB
(
XonoticLanguageList
, languagelist,
float
, -1);
26
METHOD
(
XonoticLanguageList
, getLanguages,
void
(
entity
));
27
METHOD
(
XonoticLanguageList
, setLanguage,
void
(
entity
));
28
METHOD
(
XonoticLanguageList
, languageParameter,
string
(
entity
,
float
,
float
));
29
30
ATTRIB
(
XonoticLanguageList
,
name
,
string
,
"languageselector"
);
// change this to make it noninteractive (for first run dialog);
31
ENDCLASS
(
XonoticLanguageList
)
32
33
entity
makeXonoticLanguageList
();
34
void
SetLanguage_Click
(
entity
btn,
entity
me);
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
XonoticLanguageList
Definition:
languagelist.qh:4
entity
entity() spawn
listbox.qh
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
makeXonoticLanguageList
entity makeXonoticLanguageList()
Definition:
languagelist.qc:12
XonoticListBox
Definition:
listbox.qh:4
SetLanguage_Click
void SetLanguage_Click(entity btn, entity me)
Definition:
languagelist.qc:196
name
string name
Definition:
menu.qh:30
menu
xonotic
languagelist.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13