diff options
| author | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-06-29 09:24:39 +0000 |
|---|---|---|
| committer | XTra.KrazzY <XTra.KrazzY@gmail.com> | 2009-06-29 09:24:39 +0000 |
| commit | a0bd319f7f07a01eb12125a2223d7ceef640b4fb (patch) | |
| tree | 497c251aed23c0fb616be007c043b7972004750b /Source/Core | |
| parent | c2e0225aa39a0e98a65f5ebbd600cd9f2aa05e9c (diff) | |
GUI Minicommit: Menu item for screenshot
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@3592 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
| -rw-r--r-- | Source/Core/DolphinWX/Src/FrameTools.cpp | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/Source/Core/DolphinWX/Src/FrameTools.cpp b/Source/Core/DolphinWX/Src/FrameTools.cpp index df01d7a6a8..e24282bb58 100644 --- a/Source/Core/DolphinWX/Src/FrameTools.cpp +++ b/Source/Core/DolphinWX/Src/FrameTools.cpp @@ -122,15 +122,17 @@ void CFrame::CreateMenu() fileMenu->Append(IDM_BROWSE, _T("&Browse for ISOs...")); fileMenu->AppendSeparator(); - fileMenu->Append(wxID_EXIT, _T("E&xit"), _T("Alt+F4")); + fileMenu->Append(wxID_EXIT, _T("E&xit\tAlt+F4")); menuBar->Append(fileMenu, _T("&File")); // Emulation menu wxMenu* emulationMenu = new wxMenu; - emulationMenu->Append(IDM_PLAY, _T("&Play")); - emulationMenu->Append(IDM_CHANGEDISC, _T("Change Disc")); + emulationMenu->Append(IDM_PLAY, _T("&Play\tF10")); + emulationMenu->Append(IDM_CHANGEDISC, _T("Change &Disc")); emulationMenu->Append(IDM_STOP, _T("&Stop")); emulationMenu->AppendSeparator(); + emulationMenu->Append(IDM_SCREENSHOT, _T("Take S&creenshot\tF9")); + emulationMenu->AppendSeparator(); wxMenu *saveMenu = new wxMenu; wxMenu *loadMenu = new wxMenu; m_pSubMenuLoad = emulationMenu->AppendSubMenu(loadMenu, _T("&Load State")); @@ -852,6 +854,7 @@ void CFrame::UpdateGUI() // Emulation GetMenuBar()->FindItem(IDM_STOP)->Enable(running || paused); + GetMenuBar()->FindItem(IDM_SCREENSHOT)->Enable(running || paused); m_pSubMenuLoad->Enable(initialized); m_pSubMenuSave->Enable(initialized); @@ -868,7 +871,7 @@ void CFrame::UpdateGUI() GetToolBar()->FindById(IDM_PLAY)->SetShortHelp(_("Pause")); GetToolBar()->FindById(IDM_PLAY)->SetLabel(_("Pause")); } - GetMenuBar()->FindItem(IDM_PLAY)->SetText(_("&Pause")); + GetMenuBar()->FindItem(IDM_PLAY)->SetText(_("&Pause\tF10")); } else @@ -879,7 +882,7 @@ void CFrame::UpdateGUI() GetToolBar()->FindById(IDM_PLAY)->SetShortHelp(_("Play")); GetToolBar()->FindById(IDM_PLAY)->SetLabel(_("Play")); } - GetMenuBar()->FindItem(IDM_PLAY)->SetText(_("&Play")); + GetMenuBar()->FindItem(IDM_PLAY)->SetText(_("&Play\tF10")); } if (GetToolBar() != NULL) |
