Xonotic
languagelist.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
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);
32 
34 void SetLanguage_Click(entity btn, entity me);
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
entity makeXonoticLanguageList()
Definition: languagelist.qc:12
void SetLanguage_Click(entity btn, entity me)