From 30060f173ae6a66c1471763b2d8f5c1df37fa7a5 Mon Sep 17 00:00:00 2001 From: Matthew Wilber Date: Sat, 29 Nov 2003 14:37:43 +0000 Subject: [PATCH] Changed Full Screen menu item shortcut to Alt-F and added BWindow shortcut for Full Screen using Alt-Enter so that Windows users can use the familar Alt-Enter and Be users will be able to use the familar Alt-F (MoviePlayer, ImageViewer). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5498 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/apps/showimage/ShowImageWindow.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/apps/showimage/ShowImageWindow.cpp b/src/apps/showimage/ShowImageWindow.cpp index 261bbe423a..1fa4faa971 100644 --- a/src/apps/showimage/ShowImageWindow.cpp +++ b/src/apps/showimage/ShowImageWindow.cpp @@ -242,8 +242,11 @@ ShowImageWindow::BuildViewMenu(BMenu *pmenu) AddItemMenu(pmenu, "Shrink to Window", MSG_SHRINK_TO_WINDOW, 0, 0, 'W', true); AddItemMenu(pmenu, "Zoom to Window", MSG_ZOOM_TO_WINDOW, 0, 0, 'W', true); pmenu->AddSeparatorItem(); - AddItemMenu(pmenu, "Full Screen", MSG_FULL_SCREEN, B_ENTER, 0, 'W', true); + AddItemMenu(pmenu, "Full Screen", MSG_FULL_SCREEN, 'F', 0, 'W', true); MarkMenuItem(pmenu, MSG_FULL_SCREEN, fFullScreen); + BMessage *pFullScreen = new BMessage(MSG_FULL_SCREEN); + AddShortcut(B_ENTER, 0, pFullScreen); + AddItemMenu(pmenu, "Show Caption in Full Screen Mode", MSG_SHOW_CAPTION, 0, 0, 'W', true); MarkMenuItem(pmenu, MSG_SHOW_CAPTION, fShowCaption);