Xonotic
textbox.qh
Go to the documentation of this file.
1 #pragma once
2 
3 #include "listbox.qh"
4 
5 // slightly hacky multiline textbox with scrollbar
7  METHOD(XonoticTextBox, destroy, void(entity));
8  ATTRIB(XonoticTextBox, rowsPerItem, float, 1);
9  METHOD(XonoticTextBox, resizeNotify, void(entity, vector, vector, vector, vector));
10  METHOD(XonoticTextBox, drawListBoxItem, void(entity, int, vector, bool, bool));
11  ATTRIB(XonoticTextBox, allowFocusSound, float, 0);
12  ATTRIB(XonoticTextBox, alpha, float, SKINALPHA_TEXT);
13  ATTRIB(XonoticTextBox, fontSize, float, SKINFONTSIZE_NORMAL);
14  ATTRIB(XonoticTextBox, realFontSize, vector, '0 0 0');
15  ATTRIB(XonoticTextBox, itemAbsSize, vector, '0 0 0');
16  METHOD(XonoticTextBox, setText, void(entity, string));
17  METHOD(XonoticTextBox, getTextBoxLine, string(entity, int));
18  ATTRIB(XonoticTextBox, nItems, int, 0);
19  ATTRIB(XonoticTextBox, stringList, int, -1);
20  ATTRIB(XonoticTextBox, selectionDoesntMatter, bool, true);
23 
float alpha
Definition: items.qc:14
CLASS(Object) Object
Definition: oo.qh:318
entity() spawn
#define METHOD(cname, name, prototype)
Definition: oo.qh:257
#define ATTRIB(...)
Definition: oo.qh:136
entity makeXonoticTextBox()
Definition: textbox.qc:4
vector(float skel, float bonenum) _skel_get_boneabs_hidden
#define ENDCLASS(cname)
Definition: oo.qh:269