|
OpenTTD
|
Stuff related to text buffers. More...
Go to the source code of this file.
Data Structures | |
| struct | Textbuf |
| Helper/buffer for input fields. More... | |
Enumerations | |
| enum | HandleKeyPressResult { HKPR_EDITING, HKPR_CURSOR, HKPR_CONFIRM, HKPR_CANCEL, HKPR_NOT_HANDLED } |
| Return values for Textbuf::HandleKeypress. More... | |
Stuff related to text buffers.
Definition in file textbuf_type.h.
| enum HandleKeyPressResult |
Return values for Textbuf::HandleKeypress.
| HKPR_EDITING |
Textbuf content changed. |
| HKPR_CURSOR |
Non-text change, e.g. cursor position. |
| HKPR_CONFIRM |
Return or enter key pressed. |
| HKPR_CANCEL |
Escape key pressed. |
| HKPR_NOT_HANDLED |
Key does not affect editboxes. |
Definition at line 22 of file textbuf_type.h.
1.8.1.2