diff options
author | rubidium <rubidium@openttd.org> | 2011-12-16 18:27:39 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2011-12-16 18:27:39 +0000 |
commit | bdb6280e799e2a511d8dc807fd6948f4b09de255 (patch) | |
tree | 9f16be4735d57e3e055757ad069e77cea3b5b5a9 /src/widgets | |
parent | 365bf148b5228b46a6617492675e63ad410c91a1 (diff) | |
download | openttd-bdb6280e799e2a511d8dc807fd6948f4b09de255.tar.xz |
(svn r23550) -Codechange: unify naming of the on screen keyboard widgets
Diffstat (limited to 'src/widgets')
-rw-r--r-- | src/widgets/osk_widget.h | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/src/widgets/osk_widget.h b/src/widgets/osk_widget.h index 9512af821..a53fdb4c0 100644 --- a/src/widgets/osk_widget.h +++ b/src/widgets/osk_widget.h @@ -13,31 +13,31 @@ #define WIDGETS_OSK_WIDGET_H /** Widgets of the WC_OSK. */ -enum OskWidgets { - OSK_WIDGET_CAPTION, ///< Title bar. - OSK_WIDGET_TEXT, ///< Edit box. - OSK_WIDGET_CANCEL, ///< Cancel key. - OSK_WIDGET_OK, ///< Ok key. - OSK_WIDGET_BACKSPACE, ///< Backspace key. - OSK_WIDGET_SPECIAL, ///< Special key (at keyborads often used for tab key). - OSK_WIDGET_CAPS, ///< Capslock key. - OSK_WIDGET_SHIFT, ///< Shift(lock) key. - OSK_WIDGET_SPACE, ///< Space bar. - OSK_WIDGET_LEFT, ///< Cursor left key. - OSK_WIDGET_RIGHT, ///< Cursor right key. - OSK_WIDGET_LETTERS, ///< First widget of the 'normal' keys. - - OSK_WIDGET_NUMBERS_FIRST = OSK_WIDGET_LETTERS, ///< First widget of the numbers row. - OSK_WIDGET_NUMBERS_LAST = OSK_WIDGET_NUMBERS_FIRST + 13, ///< Last widget of the numbers row. - - OSK_WIDGET_QWERTY_FIRST, ///< First widget of the qwerty row. - OSK_WIDGET_QWERTY_LAST = OSK_WIDGET_QWERTY_FIRST + 11, ///< Last widget of the qwerty row. - - OSK_WIDGET_ASDFG_FIRST, ///< First widget of the asdfg row. - OSK_WIDGET_ASDFG_LAST = OSK_WIDGET_ASDFG_FIRST + 11, ///< Last widget of the asdfg row. - - OSK_WIDGET_ZXCVB_FIRST, ///< First widget of the zxcvb row. - OSK_WIDGET_ZXCVB_LAST = OSK_WIDGET_ZXCVB_FIRST + 11, ///< Last widget of the zxcvb row. +enum OnScreenKeyboardWidgets { + WID_OSK_CAPTION, ///< Caption of window. + WID_OSK_TEXT, ///< Edit box. + WID_OSK_CANCEL, ///< Cancel key. + WID_OSK_OK, ///< Ok key. + WID_OSK_BACKSPACE, ///< Backspace key. + WID_OSK_SPECIAL, ///< Special key (at keyborads often used for tab key). + WID_OSK_CAPS, ///< Capslock key. + WID_OSK_SHIFT, ///< Shift(lock) key. + WID_OSK_SPACE, ///< Space bar. + WID_OSK_LEFT, ///< Cursor left key. + WID_OSK_RIGHT, ///< Cursor right key. + WID_OSK_LETTERS, ///< First widget of the 'normal' keys. + + WID_OSK_NUMBERS_FIRST = WID_OSK_LETTERS, ///< First widget of the numbers row. + WID_OSK_NUMBERS_LAST = WID_OSK_NUMBERS_FIRST + 13, ///< Last widget of the numbers row. + + WID_OSK_QWERTY_FIRST, ///< First widget of the qwerty row. + WID_OSK_QWERTY_LAST = WID_OSK_QWERTY_FIRST + 11, ///< Last widget of the qwerty row. + + WID_OSK_ASDFG_FIRST, ///< First widget of the asdfg row. + WID_OSK_ASDFG_LAST = WID_OSK_ASDFG_FIRST + 11, ///< Last widget of the asdfg row. + + WID_OSK_ZXCVB_FIRST, ///< First widget of the zxcvb row. + WID_OSK_ZXCVB_LAST = WID_OSK_ZXCVB_FIRST + 11, ///< Last widget of the zxcvb row. }; #endif /* WIDGETS_OSK_WIDGET_H */ |