mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-24 06:39:46 -06:00
Frame: Normalize member names
This commit is contained in:
@ -83,8 +83,8 @@ void CCodeWindow::Load()
|
||||
ini.GetOrCreateSection("ShowOnStart")->Get(SettingName[i], &bShowOnStart[i], false);
|
||||
|
||||
// Get notebook affiliation
|
||||
std::string section = "P - " + ((Parent->ActivePerspective < Parent->Perspectives.size()) ?
|
||||
Parent->Perspectives[Parent->ActivePerspective].Name :
|
||||
std::string section = "P - " + ((Parent->m_active_perspective < Parent->m_perspectives.size()) ?
|
||||
Parent->m_perspectives[Parent->m_active_perspective].name :
|
||||
"Perspective 1");
|
||||
|
||||
for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++)
|
||||
@ -92,7 +92,7 @@ void CCodeWindow::Load()
|
||||
|
||||
// Get floating setting
|
||||
for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++)
|
||||
ini.GetOrCreateSection("Float")->Get(SettingName[i], &Parent->bFloatWindow[i], false);
|
||||
ini.GetOrCreateSection("Float")->Get(SettingName[i], &Parent->m_float_window[i], false);
|
||||
}
|
||||
|
||||
void CCodeWindow::Save()
|
||||
@ -114,7 +114,7 @@ void CCodeWindow::Save()
|
||||
->Set(SettingName[i - IDM_LOG_WINDOW], GetParentMenuBar()->IsChecked(i));
|
||||
|
||||
// Save notebook affiliations
|
||||
std::string section = "P - " + Parent->Perspectives[Parent->ActivePerspective].Name;
|
||||
std::string section = "P - " + Parent->m_perspectives[Parent->m_active_perspective].name;
|
||||
for (int i = 0; i <= IDM_CODE_WINDOW - IDM_LOG_WINDOW; i++)
|
||||
ini.GetOrCreateSection(section)->Set(SettingName[i], iNbAffiliation[i]);
|
||||
|
||||
@ -536,7 +536,7 @@ void CCodeWindow::TogglePanel(int id, bool show)
|
||||
panel = CreateSiblingPanel(id);
|
||||
}
|
||||
Parent->DoAddPage(panel, iNbAffiliation[id - IDM_DEBUG_WINDOW_LIST_START],
|
||||
Parent->bFloatWindow[id - IDM_DEBUG_WINDOW_LIST_START]);
|
||||
Parent->m_float_window[id - IDM_DEBUG_WINDOW_LIST_START]);
|
||||
}
|
||||
else if (panel) // Close
|
||||
{
|
||||
|
@ -250,7 +250,7 @@ void CMemoryView::OnPopupMenu(wxCommandEvent& event)
|
||||
{
|
||||
// FIXME: This is terrible. Generate events instead.
|
||||
CFrame* cframe = wxGetApp().GetCFrame();
|
||||
CCodeWindow* code_window = cframe->g_pCodeWindow;
|
||||
CCodeWindow* code_window = cframe->m_code_window;
|
||||
CWatchWindow* watch_window = code_window->GetPanel<CWatchWindow>();
|
||||
|
||||
switch (event.GetId())
|
||||
|
@ -514,7 +514,7 @@ void CRegisterView::OnPopupMenu(wxCommandEvent& event)
|
||||
{
|
||||
// FIXME: This is terrible. Generate events instead.
|
||||
CFrame* cframe = wxGetApp().GetCFrame();
|
||||
CCodeWindow* code_window = cframe->g_pCodeWindow;
|
||||
CCodeWindow* code_window = cframe->m_code_window;
|
||||
CWatchWindow* watch_window = code_window->GetPanel<CWatchWindow>();
|
||||
CMemoryWindow* memory_window = code_window->GetPanel<CMemoryWindow>();
|
||||
|
||||
|
@ -277,7 +277,7 @@ void CWatchView::OnPopupMenu(wxCommandEvent& event)
|
||||
{
|
||||
// FIXME: This is terrible. Generate events instead.
|
||||
CFrame* cframe = wxGetApp().GetCFrame();
|
||||
CCodeWindow* code_window = cframe->g_pCodeWindow;
|
||||
CCodeWindow* code_window = cframe->m_code_window;
|
||||
CWatchWindow* watch_window = code_window->GetPanel<CWatchWindow>();
|
||||
CMemoryWindow* memory_window = code_window->GetPanel<CMemoryWindow>();
|
||||
CBreakPointWindow* breakpoint_window = code_window->GetPanel<CBreakPointWindow>();
|
||||
|
Reference in New Issue
Block a user