OpenTTD Source: src/widgets/osk_widget.h Source File

OpenTTD Source 13.2.1

osk_widget.h
Go to the documentation of this file.
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 */
7
10 #ifndef WIDGETS_OSK_WIDGET_H
11 #define WIDGETS_OSK_WIDGET_H
12
14 enum OnScreenKeyboardWidgets {
15 WID_OSK_CAPTION,
16 WID_OSK_TEXT,
17 WID_OSK_CANCEL,
18 WID_OSK_OK,
19 WID_OSK_BACKSPACE,
20 WID_OSK_SPECIAL,
21 WID_OSK_CAPS,
22 WID_OSK_SHIFT,
23 WID_OSK_SPACE,
24 WID_OSK_LEFT,
25 WID_OSK_RIGHT,
26 WID_OSK_LETTERS,
27
28 WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS,
29 WID_OSK_NUMBERS_LAST = WID_OSK_NUMBERS_FIRST + 13,
30
31 WID_OSK_QWERTY_FIRST,
32 WID_OSK_QWERTY_LAST = WID_OSK_QWERTY_FIRST + 11,
33
34 WID_OSK_ASDFG_FIRST,
35 WID_OSK_ASDFG_LAST = WID_OSK_ASDFG_FIRST + 11,
36
37 WID_OSK_ZXCVB_FIRST,
38 WID_OSK_ZXCVB_LAST = WID_OSK_ZXCVB_FIRST + 11,
39 };
40
41 #endif /* WIDGETS_OSK_WIDGET_H */
OnScreenKeyboardWidgets
OnScreenKeyboardWidgets
Widgets of the OskWindow class.
Definition: osk_widget.h:14
WID_OSK_QWERTY_LAST
@ WID_OSK_QWERTY_LAST
Last widget of the qwerty row.
Definition: osk_widget.h:32
WID_OSK_SPECIAL
@ WID_OSK_SPECIAL
Special key (at keyboards often used for tab key).
Definition: osk_widget.h:20
WID_OSK_OK
@ WID_OSK_OK
Ok key.
Definition: osk_widget.h:18
WID_OSK_ZXCVB_FIRST
@ WID_OSK_ZXCVB_FIRST
First widget of the zxcvb row.
Definition: osk_widget.h:37
WID_OSK_BACKSPACE
@ WID_OSK_BACKSPACE
Backspace key.
Definition: osk_widget.h:19
WID_OSK_ZXCVB_LAST
@ WID_OSK_ZXCVB_LAST
Last widget of the zxcvb row.
Definition: osk_widget.h:38
WID_OSK_SHIFT
@ WID_OSK_SHIFT
Shift(lock) key.
Definition: osk_widget.h:22
WID_OSK_LETTERS
@ WID_OSK_LETTERS
First widget of the 'normal' keys.
Definition: osk_widget.h:26
WID_OSK_CAPTION
@ WID_OSK_CAPTION
Caption of window.
Definition: osk_widget.h:15
WID_OSK_RIGHT
@ WID_OSK_RIGHT
Cursor right key.
Definition: osk_widget.h:25
WID_OSK_LEFT
@ WID_OSK_LEFT
Cursor left key.
Definition: osk_widget.h:24
WID_OSK_ASDFG_LAST
@ WID_OSK_ASDFG_LAST
Last widget of the asdfg row.
Definition: osk_widget.h:35
WID_OSK_ASDFG_FIRST
@ WID_OSK_ASDFG_FIRST
First widget of the asdfg row.
Definition: osk_widget.h:34
WID_OSK_CANCEL
@ WID_OSK_CANCEL
Cancel key.
Definition: osk_widget.h:17
WID_OSK_NUMBERS_FIRST
@ WID_OSK_NUMBERS_FIRST
First widget of the numbers row.
Definition: osk_widget.h:28
WID_OSK_TEXT
@ WID_OSK_TEXT
Edit box.
Definition: osk_widget.h:16
WID_OSK_CAPS
@ WID_OSK_CAPS
Capslock key.
Definition: osk_widget.h:21
WID_OSK_QWERTY_FIRST
@ WID_OSK_QWERTY_FIRST
First widget of the qwerty row.
Definition: osk_widget.h:31
WID_OSK_SPACE
@ WID_OSK_SPACE
Space bar.
Definition: osk_widget.h:23
WID_OSK_NUMBERS_LAST
@ WID_OSK_NUMBERS_LAST
Last widget of the numbers row.
Definition: osk_widget.h:29