From 6f733823176c44be1a75f2f25b62f55ac0a62d85 Mon Sep 17 00:00:00 2001 From: belugas Date: Tue, 11 Dec 2007 03:41:33 +0000 Subject: (svn r11617) -Feature(ette): Add the same game-mode keyboard shortcuts in scenario more.(Bilbo) --- src/main_gui.cpp | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) (limited to 'src') 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() + -- cgit v1.2.3-70-g09d2