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
This commit is contained in:
Matthew Wilber 2003-11-29 14:37:43 +00:00
parent f2f3482e7b
commit 30060f173a

View File

@ -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);