OpenTTD Source
20241108-master-g80f628063a
|
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.
Enumerator | |
---|---|
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 20 of file textbuf_type.h.