Xonotic
inputbox.qh
Go to the documentation of this file.
1
#pragma once
2
3
#include "
label.qh
"
4
CLASS
(
InputBox
,
Label
)
5
METHOD
(
InputBox
, configureInputBox,
void
(
entity
,
string
,
float
,
float
,
string
));
6
METHOD
(
InputBox
, draw,
void
(
entity
));
7
METHOD
(
InputBox
, setText,
void
(
entity
,
string
));
8
METHOD
(
InputBox
, enterText,
void
(
entity
,
string
));
9
METHOD
(
InputBox
, keyDown,
float
(
entity
,
float
,
float
,
float
));
10
METHOD
(
InputBox
, mouseMove,
float
(
entity
,
vector
));
11
METHOD
(
InputBox
, mouseRelease,
float
(
entity
,
vector
));
12
METHOD
(
InputBox
, mousePress,
bool
(
InputBox
this
,
vector
pos));
13
METHOD
(
InputBox
, mouseDrag,
float
(
entity
,
vector
));
14
METHOD
(
InputBox
, showNotify,
void
(
entity
));
15
METHOD
(
InputBox
, resizeNotify,
void
(
entity
,
vector
,
vector
,
vector
,
vector
));
16
17
ATTRIB
(
InputBox
, src,
string
);
18
19
ATTRIB
(
InputBox
, cursorPos,
float
, 0);
// characters
20
ATTRIB
(
InputBox
, scrollPos,
float
, 0);
// widths
21
22
ATTRIB
(
InputBox
, focusable,
float
, 1);
23
ATTRIB
(
InputBox
, allowFocusSound,
float
, 1);
24
ATTRIB
(
InputBox
,
disabled
,
float
, 0);
25
ATTRIB
(
InputBox
, lastChangeTime,
float
, 0);
26
ATTRIB
(
InputBox
, dragScrollTimer,
float
, 0);
27
ATTRIB
(
InputBox
, dragScrollPos,
vector
,
'0 0 0'
);
28
ATTRIB
(
InputBox
,
pressed
,
float
, 0);
29
ATTRIB
(
InputBox
, editColorCodes,
float
, 1);
30
ATTRIB
(
InputBox
, forbiddenCharacters,
string
,
""
);
31
ATTRIB
(
InputBox
,
color
,
vector
,
'1 1 1'
);
32
ATTRIB
(
InputBox
,
colorF
,
vector
,
'1 1 1'
);
33
ATTRIB
(
InputBox
, maxLength,
float
, 255);
// if negative, it counts bytes, not chars
34
ATTRIB
(
InputBox
,
applyButton
,
entity
);
35
36
ATTRIB
(
InputBox
, enableClearButton,
float
, 1);
37
ATTRIB
(
InputBox
, clearButton,
entity
);
38
ATTRIB
(
InputBox
, cb_width,
float
, 0);
39
ATTRIB
(
InputBox
, cb_pressed,
float
, 0);
40
ATTRIB
(
InputBox
, cb_focused,
float
, 0);
41
ATTRIB
(
InputBox
, cb_color,
vector
,
'1 1 1'
);
42
ATTRIB
(
InputBox
, cb_colorF,
vector
,
'1 1 1'
);
43
ATTRIB
(
InputBox
, cb_colorC,
vector
,
'1 1 1'
);
44
ENDCLASS
(
InputBox
)
color
vector color
Definition:
dpextensions.qc:2415
CLASS
CLASS(Object) Object
Definition:
oo.qh:318
entity
entity() spawn
disabled
bool disabled
Definition:
colorpicker_string.qc:3
METHOD
#define METHOD(cname, name, prototype)
Definition:
oo.qh:257
ATTRIB
#define ATTRIB(...)
Definition:
oo.qh:136
label.qh
applyButton
entity applyButton
Definition:
slider.qc:6
Label
Definition:
label.qh:4
vector
vector(float skel, float bonenum) _skel_get_boneabs_hidden
InputBox
Definition:
inputbox.qh:4
ENDCLASS
#define ENDCLASS(cname)
Definition:
oo.qh:269
pressed
bool pressed
Definition:
picker.qc:3
colorF
vector colorF
Definition:
borderimage.qh:25
menu
item
inputbox.qh
Generated on Thu Mar 17 2022 17:26:29 for Xonotic by
1.8.13