mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-03 08:52:39 +00:00
GUI: Better perspective saving, bugfixes
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@4114 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
718c88ff6a
commit
30c87e4822
6 changed files with 210 additions and 156 deletions
|
@ -325,12 +325,7 @@ void CCodeWindow::OnChangeFont(wxCommandEvent& event)
|
|||
/////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
// Toogle windows
|
||||
// ¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯
|
||||
int CCodeWindow::Limit(int i, int Low, int High)
|
||||
{
|
||||
if (i < Low) return Low;
|
||||
if (i > High) return High;
|
||||
return i;
|
||||
}
|
||||
|
||||
void CCodeWindow::OpenPages()
|
||||
{
|
||||
Parent->DoToggleWindow(IDM_CODEWINDOW, true);
|
||||
|
@ -369,7 +364,7 @@ void CCodeWindow::OnToggleBreakPointWindow(bool Show, int i)
|
|||
{
|
||||
if (Show)
|
||||
{
|
||||
if (!m_RegisterWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent);
|
||||
if (!m_BreakpointWindow) m_BreakpointWindow = new CBreakPointWindow(this, Parent);
|
||||
Parent->DoAddPage(m_BreakpointWindow, i, "Breakpoints");
|
||||
}
|
||||
else // hide
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue