19 #ifndef PGE_TextInputBox_H
20 #define PGE_TextInputBox_H
22 #include "pge_boxbase.h"
23 #include "../scenes/scene.h"
25 #include <graphics/gl_renderer.h>
26 #include <graphics/gl_color.h>
27 #include <common_features/rect.h>
28 #include <common_features/point.h>
29 #include <common_features/pointf.h>
30 #include <common_features/size.h>
31 #include <common_features/sizef.h>
33 #include <controls/control_keys.h>
43 msgType _type=msg_info,
PGE_Point boxCenterPos=
PGE_Point(-1,-1),
float _padding=-1, QString texture=
"");
47 void setBoxSize(
float _Width,
float _Height,
float _padding);
48 void update(
float ticks);
54 void processLoader(
float ticks);
55 void processBox(
float tickTime);
56 void processUnLoader(
float ticks);
58 void setInputText(QString text);
61 static void info(QString msg);
63 static void warn(QString msg);
65 static void error(QString msg);
67 static void fatal(QString msg);
71 void construct(QString msg=
"Message box is works!",
72 msgType _type=msg_info,
PGE_Point pos=
PGE_Point(-1,-1),
float _padding=-1, QString texture=
"");
78 QString _inputText_src;
80 QString _inputText_printable;
83 int _text_input_h_offset;
97 void updateControllers();
100 #endif // PGE_TextInputBox_H
Control key map structure. Contains a "is pressed" states of all available control keys...
Definition: control_keys.h:25
The PGE_BoxBase class.
Definition: pge_boxbase.h:16
Definition: pge_textinputbox.h:38