Xonotic
inputbox.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "../item/inputbox.qh"
4
CLASS
(
XonoticInputBox
,
InputBox
)
5
METHOD
(
XonoticInputBox
, configureXonoticInputBox,
void
(
entity
,
float
,
string
,
string
));
6
METHOD
(
XonoticInputBox
, focusLeave,
void
(
entity
));
7
METHOD
(
XonoticInputBox
, setText,
void
(
entity
,
string
));
8
METHOD
(
XonoticInputBox
, keyDown,
float
(
entity
,
float
,
float
,
float
));
9
ATTRIB
(
XonoticInputBox
, fontSize,
float
, SKINFONTSIZE_NORMAL);
10
ATTRIB
(
XonoticInputBox
, image,
string
, SKINGFX_INPUTBOX);
11
ATTRIB
(
XonoticInputBox
, onChange,
void
(
entity
,
entity
));
12
ATTRIB
(
XonoticInputBox
, onChangeEntity,
entity
);
13
ATTRIB
(
XonoticInputBox
, onEnter,
void
(
entity
,
entity
));
14
ATTRIB
(
XonoticInputBox
, onEnterEntity,
entity
);
15
ATTRIB
(
XonoticInputBox
, marginLeft,
float
, SKINMARGIN_INPUTBOX_CHARS);
16
ATTRIB
(
XonoticInputBox
, marginRight,
float
, SKINMARGIN_INPUTBOX_CHARS);
17
ATTRIB
(
XonoticInputBox
,
color
,
vector
, SKINCOLOR_INPUTBOX_N);
18
ATTRIB
(
XonoticInputBox
,
colorF
,
vector
, SKINCOLOR_INPUTBOX_F);
19
20
ATTRIB
(
XonoticInputBox
,
alpha
,
float
, SKINALPHA_TEXT);
21
22
// Clear button attributes
23
ATTRIB
(
XonoticInputBox
,
cb_offset
,
float
, SKINOFFSET_CLEARBUTTON);
// bound to range -1, 0
24
ATTRIB
(
XonoticInputBox
,
cb_src
,
string
, SKINGFX_CLEARBUTTON);
25
ATTRIB
(
XonoticInputBox
, cb_color,
vector
, SKINCOLOR_CLEARBUTTON_N);
26
ATTRIB
(
XonoticInputBox
, cb_colorF,
vector
, SKINCOLOR_CLEARBUTTON_F);
27
ATTRIB
(
XonoticInputBox
, cb_colorC,
vector
, SKINCOLOR_CLEARBUTTON_C);
28
29
ATTRIB
(
XonoticInputBox
,
controlledCvar
,
string
);
30
METHOD
(
XonoticInputBox
, loadCvars,
void
(
entity
));
31
METHOD
(
XonoticInputBox
, saveCvars,
void
(
entity
));
32
ATTRIB
(
XonoticInputBox
,
sendCvars
,
float
, 0);
33
34
ATTRIB
(
XonoticInputBox
, saveImmediately,
float
, 0);
35
ENDCLASS
(
XonoticInputBox
)
36
entity
makeXonoticInputBox_T
(
float
,
string
,
string
theTooltip);
37
entity
makeXonoticInputBox
(
float
,
string
);
color
vector color
Definition:
dpextensions.qc:2415
alpha
float alpha
Definition:
items.qc:14
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
controlledCvar
string controlledCvar
Definition:
menu.qc:16
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
makeXonoticInputBox_T
entity makeXonoticInputBox_T(float, string, string theTooltip)
Definition:
inputbox.qc:3
makeXonoticInputBox
entity makeXonoticInputBox(float, string)
Definition:
inputbox.qc:10
sendCvars
bool sendCvars
Definition:
util.qc:762
cb_offset
float cb_offset
Definition:
inputbox.qc:3
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
InputBox
Definition:
inputbox.qh:4
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
XonoticInputBox
Definition:
inputbox.qh:4
colorF
vector colorF
Definition:
borderimage.qh:25
cb_src
string cb_src
Definition:
inputbox.qc:4
menu
xonotic
inputbox.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13