Codefix: [NewGRF] Don't read an extended byte into uint8_t. (#13302)
[openttd-github.git] / src / widgets / osk_widget.h
blobae84037b536f6828a488dafaa1bffe4649a2724b
1 /*
2 * This file is part of OpenTTD.
3 * OpenTTD is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, version 2.
4 * OpenTTD is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
5 * See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with OpenTTD. If not, see <http://www.gnu.org/licenses/>.
6 */
8 /** @file osk_widget.h Types related to the osk widgets. */
10 #ifndef WIDGETS_OSK_WIDGET_H
11 #define WIDGETS_OSK_WIDGET_H
13 /** Widgets of the #OskWindow class. */
14 enum OnScreenKeyboardWidgets : WidgetID {
15 WID_OSK_CAPTION, ///< Caption of window.
16 WID_OSK_TEXT, ///< Edit box.
17 WID_OSK_CANCEL, ///< Cancel key.
18 WID_OSK_OK, ///< Ok key.
19 WID_OSK_BACKSPACE, ///< Backspace key.
20 WID_OSK_SPECIAL, ///< Special key (at keyboards often used for tab key).
21 WID_OSK_CAPS, ///< Capslock key.
22 WID_OSK_SHIFT, ///< Shift(lock) key.
23 WID_OSK_SPACE, ///< Space bar.
24 WID_OSK_LEFT, ///< Cursor left key.
25 WID_OSK_RIGHT, ///< Cursor right key.
26 WID_OSK_LETTERS, ///< First widget of the 'normal' keys.
28 WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS, ///< First widget of the numbers row.
29 WID_OSK_NUMBERS_LAST = WID_OSK_NUMBERS_FIRST + 13, ///< Last widget of the numbers row.
31 WID_OSK_QWERTY_FIRST, ///< First widget of the qwerty row.
32 WID_OSK_QWERTY_LAST = WID_OSK_QWERTY_FIRST + 11, ///< Last widget of the qwerty row.
34 WID_OSK_ASDFG_FIRST, ///< First widget of the asdfg row.
35 WID_OSK_ASDFG_LAST = WID_OSK_ASDFG_FIRST + 11, ///< Last widget of the asdfg row.
37 WID_OSK_ZXCVB_FIRST, ///< First widget of the zxcvb row.
38 WID_OSK_ZXCVB_LAST = WID_OSK_ZXCVB_FIRST + 11, ///< Last widget of the zxcvb row.
41 #endif /* WIDGETS_OSK_WIDGET_H */