From 4b86fb89f8f98dce6c47e06b814b82f13c9d0c45 Mon Sep 17 00:00:00 2001 From: whitequark Date: Wed, 25 Mar 2015 01:47:34 +0300 Subject: [PATCH] Make "Show Menu Bar" and "Full Screen" use Ctrl/Cmd+Fn. On OS X F11 and F12 are system-global shortcuts. I could switch them only on Apple platforms, but for consistency I decided not to. Anyway, neither of those appeared in an official release. --- src/graphicswin.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/graphicswin.cpp b/src/graphicswin.cpp index 3b07fa8..afce82c 100644 --- a/src/graphicswin.cpp +++ b/src/graphicswin.cpp @@ -80,7 +80,7 @@ const GraphicsWindow::MenuEntry GraphicsWindow::menu[] = { { 1, "Use &Perspective Projection", MNU_PERSPECTIVE_PROJ,'`', IC, mView }, { 1, NULL, 0, 0, IN, NULL }, #if defined(HAVE_FLTK) || defined(__APPLE__) -{ 1, "Show Menu &Bar", MNU_SHOW_MENU_BAR, F(12), IC, mView }, +{ 1, "Show Menu &Bar", MNU_SHOW_MENU_BAR, C|F(12), IC, mView }, #endif { 1, "Show &Toolbar", MNU_SHOW_TOOLBAR, 0, IC, mView }, { 1, "Show Text &Window", MNU_SHOW_TEXT_WND, '\t', IC, mView }, @@ -89,7 +89,7 @@ const GraphicsWindow::MenuEntry GraphicsWindow::menu[] = { { 1, "Dimensions in &Millimeters", MNU_UNITS_MM, 0, IR, mView }, #if defined(HAVE_FLTK_FULLSCREEN) || defined(HAVE_GTK) || defined(__APPLE__) { 1, NULL, 0, 0, IN, NULL }, -{ 1, "&Full Screen", MNU_FULL_SCREEN, F(11), IC, mView }, +{ 1, "&Full Screen", MNU_FULL_SCREEN, C|F(11), IC, mView }, #endif { 0, "&New Group", 0, 0, IN, NULL },