diff options
author | yexo <yexo@openttd.org> | 2010-07-03 20:14:56 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2010-07-03 20:14:56 +0000 |
commit | 4012f85eec50f9e0c7af17d4ba13852a87a02590 (patch) | |
tree | eb39cb20475eee3a419b3fe024f96facb73902ad /src/gfx_type.h | |
parent | 4f51623d122faa068e30224a9351ecb290a70029 (diff) | |
download | openttd-4012f85eec50f9e0c7af17d4ba13852a87a02590.tar.xz |
(svn r20067) -Add: special modifier (GLOBAL) to mark hotkeys as global hotkeys
Diffstat (limited to 'src/gfx_type.h')
-rw-r--r-- | src/gfx_type.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gfx_type.h b/src/gfx_type.h index 87b984981..8c4bf918f 100644 --- a/src/gfx_type.h +++ b/src/gfx_type.h @@ -32,7 +32,9 @@ enum WindowKeyCodes { WKC_ALT = 0x2000, WKC_META = 0x1000, - WKC_SPECIAL_KEYS = WKC_SHIFT | WKC_CTRL | WKC_ALT | WKC_META, + WKC_GLOBAL_HOTKEY = 0x0800, ///< Fake keycode bit to indicate global hotkeys + + WKC_SPECIAL_KEYS = WKC_SHIFT | WKC_CTRL | WKC_ALT | WKC_META | WKC_GLOBAL_HOTKEY, /* Special ones */ WKC_NONE = 0, |