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.
This commit is contained in:
parent
d76d59ea64
commit
4b86fb89f8
|
@ -80,7 +80,7 @@ const GraphicsWindow::MenuEntry GraphicsWindow::menu[] = {
|
||||||
{ 1, "Use &Perspective Projection", MNU_PERSPECTIVE_PROJ,'`', IC, mView },
|
{ 1, "Use &Perspective Projection", MNU_PERSPECTIVE_PROJ,'`', IC, mView },
|
||||||
{ 1, NULL, 0, 0, IN, NULL },
|
{ 1, NULL, 0, 0, IN, NULL },
|
||||||
#if defined(HAVE_FLTK) || defined(__APPLE__)
|
#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
|
#endif
|
||||||
{ 1, "Show &Toolbar", MNU_SHOW_TOOLBAR, 0, IC, mView },
|
{ 1, "Show &Toolbar", MNU_SHOW_TOOLBAR, 0, IC, mView },
|
||||||
{ 1, "Show Text &Window", MNU_SHOW_TEXT_WND, '\t', 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 },
|
{ 1, "Dimensions in &Millimeters", MNU_UNITS_MM, 0, IR, mView },
|
||||||
#if defined(HAVE_FLTK_FULLSCREEN) || defined(HAVE_GTK) || defined(__APPLE__)
|
#if defined(HAVE_FLTK_FULLSCREEN) || defined(HAVE_GTK) || defined(__APPLE__)
|
||||||
{ 1, NULL, 0, 0, IN, NULL },
|
{ 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
|
#endif
|
||||||
|
|
||||||
{ 0, "&New Group", 0, 0, IN, NULL },
|
{ 0, "&New Group", 0, 0, IN, NULL },
|
||||||
|
|
Loading…
Reference in New Issue
Block a user