mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 22:29:39 -06:00
More work on the FrameAui:
Added a default perspective for the debugger. Save all perspectives, and not just the active one. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5979 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -177,7 +177,7 @@ void CFrame::CreateMenu()
|
||||
if (g_pCodeWindow)
|
||||
{
|
||||
pOptionsMenu->AppendSeparator();
|
||||
g_pCodeWindow->CreateMenuOptions(NULL, pOptionsMenu);
|
||||
g_pCodeWindow->CreateMenuOptions(pOptionsMenu);
|
||||
}
|
||||
m_MenuBar->Append(pOptionsMenu, _T("&Options"));
|
||||
|
||||
@ -213,16 +213,36 @@ void CFrame::CreateMenu()
|
||||
viewMenu->Check(IDM_TOGGLE_STATUSBAR, SConfig::GetInstance().m_InterfaceStatusbar);
|
||||
viewMenu->AppendSeparator();
|
||||
viewMenu->AppendCheckItem(IDM_LOGWINDOW, _T("Show &Logwindow"));
|
||||
viewMenu->Check(IDM_LOGWINDOW, SConfig::GetInstance().m_InterfaceLogWindow);
|
||||
viewMenu->AppendCheckItem(IDM_CONSOLEWINDOW, _T("Show &Console"));
|
||||
viewMenu->Check(IDM_CONSOLEWINDOW, SConfig::GetInstance().m_InterfaceConsole);
|
||||
viewMenu->AppendSeparator();
|
||||
|
||||
if (g_pCodeWindow)
|
||||
{
|
||||
g_pCodeWindow->CreateMenuView(NULL, viewMenu);
|
||||
viewMenu->Check(IDM_LOGWINDOW, g_pCodeWindow->bShowOnStart[0]);
|
||||
viewMenu->Check(IDM_CONSOLEWINDOW, g_pCodeWindow->bShowOnStart[1]);
|
||||
|
||||
const wxString MenuText[] = {
|
||||
wxT("&Registers"),
|
||||
wxT("&Breakpoints"),
|
||||
wxT("&Memory"),
|
||||
wxT("&JIT"),
|
||||
wxT("&Sound"),
|
||||
wxT("&Video")
|
||||
};
|
||||
|
||||
for (int i = IDM_REGISTERWINDOW; i <= IDM_VIDEOWINDOW; i++)
|
||||
{
|
||||
viewMenu->AppendCheckItem(i, MenuText[i - IDM_REGISTERWINDOW]);
|
||||
viewMenu->Check(i, g_pCodeWindow->bShowOnStart[i - IDM_LOGWINDOW]);
|
||||
}
|
||||
|
||||
viewMenu->AppendSeparator();
|
||||
}
|
||||
else
|
||||
{
|
||||
viewMenu->Check(IDM_LOGWINDOW, SConfig::GetInstance().m_InterfaceLogWindow);
|
||||
viewMenu->Check(IDM_CONSOLEWINDOW, SConfig::GetInstance().m_InterfaceConsole);
|
||||
}
|
||||
|
||||
wxMenu *platformMenu = new wxMenu;
|
||||
viewMenu->AppendSubMenu(platformMenu, _T("Show Platforms"));
|
||||
|
Reference in New Issue
Block a user