mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 04:08:55 +00:00
GUI: No need to remove the log window
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4131 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
3db8bf7774
commit
4272d7cd99
9 changed files with 628 additions and 16 deletions
|
@ -208,6 +208,11 @@ void CCodeWindow::OnHostMessage(wxCommandEvent& event)
|
|||
case IDM_NOTIFYMAPLOADED:
|
||||
NotifyMapLoaded();
|
||||
break;
|
||||
/*
|
||||
case IDM_UPDATELOGDISPLAY:
|
||||
if (m_LogWindow) m_LogWindow->NotifyUpdate();
|
||||
break;
|
||||
*/
|
||||
case IDM_UPDATEDISASMDIALOG:
|
||||
Update();
|
||||
if (m_RegisterWindow) m_RegisterWindow->NotifyUpdate();
|
||||
|
@ -437,6 +442,7 @@ void CCodeWindow::Load()
|
|||
std::string _Section = StringFromFormat("P - %s",
|
||||
(Parent->ActivePerspective < Parent->Perspectives.size())
|
||||
? Parent->Perspectives.at(Parent->ActivePerspective).Name.c_str() : "");
|
||||
ini.Get(_Section.c_str(), "Log", &iLogWindow, 1);
|
||||
ini.Get(_Section.c_str(), "Console", &iConsoleWindow, 1);
|
||||
ini.Get(_Section.c_str(), "Code", &iCodeWindow, 1);
|
||||
ini.Get(_Section.c_str(), "Registers", &iRegisterWindow, 1);
|
||||
|
@ -472,6 +478,7 @@ void CCodeWindow::Save()
|
|||
std::string _Section = StringFromFormat("P - %s",
|
||||
(Parent->ActivePerspective < Parent->Perspectives.size())
|
||||
? Parent->Perspectives.at(Parent->ActivePerspective).Name.c_str() : "");
|
||||
ini.Set(_Section.c_str(), "Log", iLogWindow);
|
||||
ini.Set(_Section.c_str(), "Console", iConsoleWindow);
|
||||
ini.Set(_Section.c_str(), "Code", iCodeWindow);
|
||||
ini.Set(_Section.c_str(), "Registers", iRegisterWindow);
|
||||
|
@ -909,4 +916,4 @@ void CCodeWindow::OnStatusBar_(wxUpdateUIEvent& event)
|
|||
//if(event.GetId() != IDM_ADDRBOX) DoTip(wxEmptyString);
|
||||
#endif
|
||||
}
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
Loading…
Add table
Add a link
Reference in a new issue