(svn r27729) -Codechange: Do not count static NewGRF when checking for the maximum...
[openttd.git] / src / widgets / osk_widget.h
blob25cd928a866b79886361b9ac66d6a59dda97a32c
1 /* $Id$ */
3 /*
4 * This file is part of OpenTTD.
5 * 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.
6 * 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.
7 * 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/>.
8 */
10 /** @file osk_widget.h Types related to the osk widgets. */
12 #ifndef WIDGETS_OSK_WIDGET_H
13 #define WIDGETS_OSK_WIDGET_H
15 /** Widgets of the #OskWindow class. */
16 enum OnScreenKeyboardWidgets {
17 WID_OSK_CAPTION, ///< Caption of window.
18 WID_OSK_TEXT, ///< Edit box.
19 WID_OSK_CANCEL, ///< Cancel key.
20 WID_OSK_OK, ///< Ok key.
21 WID_OSK_BACKSPACE, ///< Backspace key.
22 WID_OSK_SPECIAL, ///< Special key (at keyboards often used for tab key).
23 WID_OSK_CAPS, ///< Capslock key.
24 WID_OSK_SHIFT, ///< Shift(lock) key.
25 WID_OSK_SPACE, ///< Space bar.
26 WID_OSK_LEFT, ///< Cursor left key.
27 WID_OSK_RIGHT, ///< Cursor right key.
28 WID_OSK_LETTERS, ///< First widget of the 'normal' keys.
30 WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS, ///< First widget of the numbers row.
31 WID_OSK_NUMBERS_LAST = WID_OSK_NUMBERS_FIRST + 13, ///< Last widget of the numbers row.
33 WID_OSK_QWERTY_FIRST, ///< First widget of the qwerty row.
34 WID_OSK_QWERTY_LAST = WID_OSK_QWERTY_FIRST + 11, ///< Last widget of the qwerty row.
36 WID_OSK_ASDFG_FIRST, ///< First widget of the asdfg row.
37 WID_OSK_ASDFG_LAST = WID_OSK_ASDFG_FIRST + 11, ///< Last widget of the asdfg row.
39 WID_OSK_ZXCVB_FIRST, ///< First widget of the zxcvb row.
40 WID_OSK_ZXCVB_LAST = WID_OSK_ZXCVB_FIRST + 11, ///< Last widget of the zxcvb row.
43 #endif /* WIDGETS_OSK_WIDGET_H */