Xonotic QuakeC
The free, fast arena FPS with crisp movement and a wide array of weapons
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
26
var entity(vector mins, vector maxs,.entity tofield) findbox_tofield_OrFallback
ATTRIB(ListBox, src, string)
virtual void getTextBoxLine()
bool selectionDoesntMatter
Definition textbox.qh:23
virtual void resizeNotify()
bool allowColors
Definition textbox.qh:13
bool allowFocusSound
Definition textbox.qh:11
virtual void setText()
vector itemAbsSize
Definition textbox.qh:18
vector realFontSize
Definition textbox.qh:17
float rowsPerItem
Definition textbox.qh:8
virtual void destroy()
bool escapedNewLines
Definition textbox.qh:14
virtual void drawListBoxItem()
float fontSize
Definition textbox.qh:16
#define true
Definition csprogsdefs.qh:5
#define false
Definition csprogsdefs.qh:6
#define CLASS(...)
Definition oo.qh:145
#define ENDCLASS(cname)
Definition oo.qh:281
#define METHOD(cname, name, prototype)
Definition oo.qh:269
vector
Definition self.qh:92
entity makeXonoticTextBox()
Definition textbox.qc:4