Xonotic
cvarlist.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
5  METHOD(XonoticCvarList, configureXonoticCvarList, void(entity));
6  ATTRIB(XonoticCvarList, rowsPerItem, float, 1);
7  METHOD(XonoticCvarList, drawListBoxItem, void(entity, int, vector, bool, bool));
8  METHOD(XonoticCvarList, resizeNotify, void(entity, vector, vector, vector, vector));
9  METHOD(XonoticCvarList, keyDown, float(entity, float, float, float));
10  METHOD(XonoticCvarList, showNotify, void(entity));
11  METHOD(XonoticCvarList, hideNotify, void(entity));
12 
13  METHOD(XonoticCvarList, destroy, void(entity));
14 
15  ATTRIB(XonoticCvarList, realFontSize, vector, '0 0 0');
16  ATTRIB(XonoticCvarList, realUpperMargin, float, 0);
17  ATTRIB(XonoticCvarList, columnNameOrigin, float, 0);
18  ATTRIB(XonoticCvarList, columnNameSize, float, 0);
19  ATTRIB(XonoticCvarList, columnValueOrigin, float, 0);
20  ATTRIB(XonoticCvarList, columnValueSize, float, 0);
21 
22  METHOD(XonoticCvarList, mouseRelease, float(entity, vector));
23  METHOD(XonoticCvarList, setSelected, void(entity, float));
24  METHOD(XonoticCvarList, updateCvarType, float(entity));
25 
26  ATTRIB(XonoticCvarList, controlledTextbox, entity);
27  ATTRIB(XonoticCvarList, cvarNameBox, entity);
28  ATTRIB(XonoticCvarList, cvarDescriptionBox, entity);
29  ATTRIB(XonoticCvarList, cvarTypeBox, entity);
30  ATTRIB(XonoticCvarList, cvarValueBox, entity);
31  ATTRIB(XonoticCvarList, cvarDefaultBox, entity);
32  ATTRIB(XonoticCvarList, cvarNeedsForcing, float, 0);
33 
34  ATTRIB(XonoticCvarList, handle, float, -1);
35  ATTRIB(XonoticCvarList, cvarName, string);
36  ATTRIB(XonoticCvarList, cvarDescription, string);
37  ATTRIB(XonoticCvarList, cvarType, string);
38  ATTRIB(XonoticCvarList, cvarDefault, string);
43 void CvarList_Value_Change(entity box, entity me);
44 void CvarList_Revert_Click(entity btn, entity me);
45 void CvarList_End_Editing(entity box, entity me);
46 
CLASS(Object) Object
Definition: oo.qh:318
entity makeXonoticCvarList()
Definition: cvarlist.qc:8
void CvarList_Value_Change(entity box, entity me)
Definition: cvarlist.qc:220
entity() spawn
void CvarList_End_Editing(entity box, entity me)
Definition: cvarlist.qc:251
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
void CvarList_Revert_Click(entity btn, entity me)
Definition: cvarlist.qc:236
#define ATTRIB(...)
Definition: oo.qh:136
void CvarList_Filter_ModifiedCvars(entity box, entity me)
Definition: cvarlist.qc:131
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269
void CvarList_Filter_Change(entity box, entity me)
Definition: cvarlist.qc:126
float autocvar_menu_cvarlist_onlymodified
Definition: cvarlist.qh:47