Merge pull request #1638 from Stevoisiak/DSP-to-Audio
Rename DSP settings to Audio settings
Before Width: | Height: | Size: 1.8 KiB After Width: | Height: | Size: 1.8 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.9 KiB After Width: | Height: | Size: 2.9 KiB |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
Before Width: | Height: | Size: 3.4 KiB After Width: | Height: | Size: 3.4 KiB |
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
Before Width: | Height: | Size: 2.6 KiB After Width: | Height: | Size: 2.6 KiB |
|
@ -259,7 +259,7 @@ EVT_MENU(IDM_TOGGLE_DUMPFRAMES, CFrame::OnToggleDumpFrames)
|
||||||
EVT_MENU(IDM_TOGGLE_DUMPAUDIO, CFrame::OnToggleDumpAudio)
|
EVT_MENU(IDM_TOGGLE_DUMPAUDIO, CFrame::OnToggleDumpAudio)
|
||||||
EVT_MENU(wxID_PREFERENCES, CFrame::OnConfigMain)
|
EVT_MENU(wxID_PREFERENCES, CFrame::OnConfigMain)
|
||||||
EVT_MENU(IDM_CONFIG_GFX_BACKEND, CFrame::OnConfigGFX)
|
EVT_MENU(IDM_CONFIG_GFX_BACKEND, CFrame::OnConfigGFX)
|
||||||
EVT_MENU(IDM_CONFIG_DSP_EMULATOR, CFrame::OnConfigDSP)
|
EVT_MENU(IDM_CONFIG_AUDIO, CFrame::OnConfigAudio)
|
||||||
EVT_MENU(IDM_CONFIG_CONTROLLERS, CFrame::OnConfigControllers)
|
EVT_MENU(IDM_CONFIG_CONTROLLERS, CFrame::OnConfigControllers)
|
||||||
EVT_MENU(IDM_CONFIG_HOTKEYS, CFrame::OnConfigHotkey)
|
EVT_MENU(IDM_CONFIG_HOTKEYS, CFrame::OnConfigHotkey)
|
||||||
|
|
||||||
|
|
|
@ -189,7 +189,7 @@ private:
|
||||||
Toolbar_FullScreen,
|
Toolbar_FullScreen,
|
||||||
Toolbar_ConfigMain,
|
Toolbar_ConfigMain,
|
||||||
Toolbar_ConfigGFX,
|
Toolbar_ConfigGFX,
|
||||||
Toolbar_ConfigDSP,
|
Toolbar_ConfigAudio,
|
||||||
Toolbar_Controller,
|
Toolbar_Controller,
|
||||||
EToolbar_Max
|
EToolbar_Max
|
||||||
};
|
};
|
||||||
|
@ -291,7 +291,7 @@ private:
|
||||||
|
|
||||||
void OnConfigMain(wxCommandEvent& event); // Options
|
void OnConfigMain(wxCommandEvent& event); // Options
|
||||||
void OnConfigGFX(wxCommandEvent& event);
|
void OnConfigGFX(wxCommandEvent& event);
|
||||||
void OnConfigDSP(wxCommandEvent& event);
|
void OnConfigAudio(wxCommandEvent& event);
|
||||||
void OnConfigControllers(wxCommandEvent& event);
|
void OnConfigControllers(wxCommandEvent& event);
|
||||||
void OnConfigHotkey(wxCommandEvent& event);
|
void OnConfigHotkey(wxCommandEvent& event);
|
||||||
|
|
||||||
|
|
|
@ -235,7 +235,7 @@ wxMenuBar* CFrame::CreateMenu()
|
||||||
pOptionsMenu->Append(wxID_PREFERENCES, _("Co&nfigure..."));
|
pOptionsMenu->Append(wxID_PREFERENCES, _("Co&nfigure..."));
|
||||||
pOptionsMenu->AppendSeparator();
|
pOptionsMenu->AppendSeparator();
|
||||||
pOptionsMenu->Append(IDM_CONFIG_GFX_BACKEND, _("&Graphics Settings"));
|
pOptionsMenu->Append(IDM_CONFIG_GFX_BACKEND, _("&Graphics Settings"));
|
||||||
pOptionsMenu->Append(IDM_CONFIG_DSP_EMULATOR, _("&DSP Settings"));
|
pOptionsMenu->Append(IDM_CONFIG_AUDIO, _("&Audio Settings"));
|
||||||
pOptionsMenu->Append(IDM_CONFIG_CONTROLLERS, _("&Controller Settings"));
|
pOptionsMenu->Append(IDM_CONFIG_CONTROLLERS, _("&Controller Settings"));
|
||||||
pOptionsMenu->Append(IDM_CONFIG_HOTKEYS, _("&Hotkey Settings"));
|
pOptionsMenu->Append(IDM_CONFIG_HOTKEYS, _("&Hotkey Settings"));
|
||||||
if (g_pCodeWindow)
|
if (g_pCodeWindow)
|
||||||
|
@ -570,7 +570,7 @@ void CFrame::PopulateToolbar(wxToolBar* ToolBar)
|
||||||
ToolBar->AddSeparator();
|
ToolBar->AddSeparator();
|
||||||
WxUtils::AddToolbarButton(ToolBar, wxID_PREFERENCES, _("Config"), m_Bitmaps[Toolbar_ConfigMain], _("Configure..."));
|
WxUtils::AddToolbarButton(ToolBar, wxID_PREFERENCES, _("Config"), m_Bitmaps[Toolbar_ConfigMain], _("Configure..."));
|
||||||
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_GFX_BACKEND, _("Graphics"), m_Bitmaps[Toolbar_ConfigGFX], _("Graphics settings"));
|
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_GFX_BACKEND, _("Graphics"), m_Bitmaps[Toolbar_ConfigGFX], _("Graphics settings"));
|
||||||
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_DSP_EMULATOR, _("DSP"), m_Bitmaps[Toolbar_ConfigDSP], _("DSP settings"));
|
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_AUDIO, _("Audio"), m_Bitmaps[Toolbar_ConfigAudio], _("Audio settings"));
|
||||||
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_CONTROLLERS, _("Controllers"), m_Bitmaps[Toolbar_Controller], _("Controller settings"));
|
WxUtils::AddToolbarButton(ToolBar, IDM_CONFIG_CONTROLLERS, _("Controllers"), m_Bitmaps[Toolbar_Controller], _("Controller settings"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -614,7 +614,7 @@ void CFrame::InitBitmaps()
|
||||||
m_Bitmaps[Toolbar_Pause ].LoadFile(dir + "pause.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_Pause ].LoadFile(dir + "pause.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_ConfigMain ].LoadFile(dir + "config.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_ConfigMain ].LoadFile(dir + "config.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_ConfigGFX ].LoadFile(dir + "graphics.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_ConfigGFX ].LoadFile(dir + "graphics.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_ConfigDSP ].LoadFile(dir + "dsp.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_ConfigAudio].LoadFile(dir + "audio.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_Controller ].LoadFile(dir + "classic.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_Controller ].LoadFile(dir + "classic.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_Screenshot ].LoadFile(dir + "screenshot.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_Screenshot ].LoadFile(dir + "screenshot.png", wxBITMAP_TYPE_PNG);
|
||||||
m_Bitmaps[Toolbar_FullScreen ].LoadFile(dir + "fullscreen.png", wxBITMAP_TYPE_PNG);
|
m_Bitmaps[Toolbar_FullScreen ].LoadFile(dir + "fullscreen.png", wxBITMAP_TYPE_PNG);
|
||||||
|
@ -1335,7 +1335,7 @@ void CFrame::OnConfigGFX(wxCommandEvent& WXUNUSED (event))
|
||||||
g_video_backend->ShowConfig(this);
|
g_video_backend->ShowConfig(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
void CFrame::OnConfigDSP(wxCommandEvent& WXUNUSED (event))
|
void CFrame::OnConfigAudio(wxCommandEvent& WXUNUSED (event))
|
||||||
{
|
{
|
||||||
CConfigMain ConfigMain(this);
|
CConfigMain ConfigMain(this);
|
||||||
ConfigMain.SetSelectedTab(CConfigMain::ID_AUDIOPAGE);
|
ConfigMain.SetSelectedTab(CConfigMain::ID_AUDIOPAGE);
|
||||||
|
|
|
@ -146,7 +146,7 @@ enum
|
||||||
IDM_HELPGITHUB,
|
IDM_HELPGITHUB,
|
||||||
|
|
||||||
IDM_CONFIG_GFX_BACKEND,
|
IDM_CONFIG_GFX_BACKEND,
|
||||||
IDM_CONFIG_DSP_EMULATOR,
|
IDM_CONFIG_AUDIO,
|
||||||
IDM_CONFIG_CONTROLLERS,
|
IDM_CONFIG_CONTROLLERS,
|
||||||
IDM_CONFIG_HOTKEYS,
|
IDM_CONFIG_HOTKEYS,
|
||||||
IDM_CONFIG_LOGGER,
|
IDM_CONFIG_LOGGER,
|
||||||
|
|