# osk_widget.h

Go to the documentation of this file.

    00001 /* $Id: osk_widget.h 24900 2013-01-08 22:46:42Z planetmaker $ */
    00002
    00003 /*
    00004  * This file is part of OpenTTD.
    00005  * 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.
    00006  * 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.
    00007  * 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/>.
    00008  */
    00009
    00012 #ifndef WIDGETS_OSK_WIDGET_H
    00013 #define WIDGETS_OSK_WIDGET_H
    00014
    00016 enum OnScreenKeyboardWidgets {
    00017   WID_OSK_CAPTION,
    00018   WID_OSK_TEXT,
    00019   WID_OSK_CANCEL,
    00020   WID_OSK_OK,
    00021   WID_OSK_BACKSPACE,
    00022   WID_OSK_SPECIAL,
    00023   WID_OSK_CAPS,
    00024   WID_OSK_SHIFT,
    00025   WID_OSK_SPACE,
    00026   WID_OSK_LEFT,
    00027   WID_OSK_RIGHT,
    00028   WID_OSK_LETTERS,
    00029
    00030   WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS,
    00031   WID_OSK_NUMBERS_LAST  = WID_OSK_NUMBERS_FIRST + 13,
    00032
    00033   WID_OSK_QWERTY_FIRST,
    00034   WID_OSK_QWERTY_LAST   = WID_OSK_QWERTY_FIRST  + 11,
    00035
    00036   WID_OSK_ASDFG_FIRST,
    00037   WID_OSK_ASDFG_LAST    = WID_OSK_ASDFG_FIRST   + 11,
    00038
    00039   WID_OSK_ZXCVB_FIRST,
    00040   WID_OSK_ZXCVB_LAST    = WID_OSK_ZXCVB_FIRST   + 11,
    00041 };
    00042
    00043 #endif /* WIDGETS_OSK_WIDGET_H */