diff options
author | belugas <belugas@openttd.org> | 2007-12-11 03:41:33 +0000 |
---|---|---|
committer | belugas <belugas@openttd.org> | 2007-12-11 03:41:33 +0000 |
commit | fd23999fb90fa61ba4242c4adcfb469205b070ea (patch) | |
tree | 801140b8d194db7d514d9a7ae57ddb8b37ead73c /src/main_gui.cpp | |
parent | 28c436a054f834176fcaae12fcc1753a1525e089 (diff) | |
download | openttd-fd23999fb90fa61ba4242c4adcfb469205b070ea.tar.xz |
(svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in scenario more.(Bilbo)
Diffstat (limited to 'src/main_gui.cpp')
-rw-r--r-- | src/main_gui.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/main_gui.cpp b/src/main_gui.cpp index feddd031c..f1d8d447d 100644 --- a/src/main_gui.cpp +++ b/src/main_gui.cpp @@ -1889,7 +1889,22 @@ static void ScenEditToolbarWndProc(Window *w, WindowEvent *e) case WKC_F11: PlaceLandBlockInfo(); break; case WKC_CTRL | 'S': MenuClickSmallScreenshot(); break; case WKC_CTRL | 'G': MenuClickWorldScreenshot(); break; + + /* those following are all fall through */ + case WKC_NUM_PLUS: + case WKC_EQUALS: + case WKC_SHIFT | WKC_EQUALS: + case WKC_SHIFT | WKC_F5: ToolbarZoomInClick(w); break; + + /* those following are all fall through */ + case WKC_NUM_MINUS: + case WKC_MINUS: + case WKC_SHIFT | WKC_MINUS: + case WKC_SHIFT | WKC_F6: ToolbarZoomOutClick(w); break; + case 'L': ShowEditorTerraformToolBar(); break; + case 'M': ShowSmallMap(); break; + case 'V': ShowExtraViewPortWindow(); break; default: return; } e->we.keypress.cont = false; @@ -2409,3 +2424,4 @@ void InitializeMainGui() + |