summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbelugas <belugas@openttd.org>2007-12-11 03:41:33 +0000
committerbelugas <belugas@openttd.org>2007-12-11 03:41:33 +0000
commit6f733823176c44be1a75f2f25b62f55ac0a62d85 (patch)
tree801140b8d194db7d514d9a7ae57ddb8b37ead73c /src
parenta1dbb10c26763574d7cdd66d0e9522382164a773 (diff)
downloadopenttd-6f733823176c44be1a75f2f25b62f55ac0a62d85.tar.xz
(svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in scenario more.(Bilbo)
Diffstat (limited to 'src')
-rw-r--r--src/main_gui.cpp16
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()
+