|
FPLBase
An open source project by
FPL.
|
Holds text input events. More...
#include <input.h>
Holds text input events.
Public Member Functions | |
| TextInputEvent (TextInputEventType t) | |
| Constructor for TextInputEvent. | |
| TextInputEvent (TextInputEventType t, int32_t state, bool repeat, int32_t symbol, int32_t modifier) | |
| Constructor for TextInputEvent. | |
| TextInputEvent (TextInputEventType t, const char *str) | |
| Constructor for TextInputEvent. | |
| TextInputEvent (TextInputEventType t, const char *str, int32_t start, int32_t length) | |
| Constructor for TextInputEvent. | |
Public Attributes | |
| TextInputEventType | type |
| Type of the event. | |
| std::string | text |
| Input string. | |
| union { | |
| TextInputEventKey key | |
| An event parameter for a keyboard input. | |
| TextInputEventEdit edit | |
| An event parameter for a text edit in IME (Input Method Editor). | |
| }; | |
| Union of Text input events. | |