summaryrefslogtreecommitdiff
path: root/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
diff options
context:
space:
mode:
authorJordan Woyak <jordan.woyak@gmail.com>2011-01-31 01:28:32 +0000
committerJordan Woyak <jordan.woyak@gmail.com>2011-01-31 01:28:32 +0000
commitfbaf9659958cd6d8c0df6b0c217f6e60f57f9d77 (patch)
tree3ddd90222b5d7afd0c98b936ab4c9e37375ec919 /Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
parentae7c64ec134799183487adb5104c6908cf282240 (diff)
Eliminated the plugin interface. Merged DX9/DX11/OGL video plugins into Dolphin. It could still use a lot of cleanup. Lots of things are still named "plugin". Software renderer is temporarily disabled until it gets some namespaces. I only updated vs08/10, Linux/OSX builds are broken.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6996 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp')
-rw-r--r--Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp41
1 files changed, 18 insertions, 23 deletions
diff --git a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
index ea4b7dd758..1913e72f56 100644
--- a/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
+++ b/Source/Core/DebuggerWX/Src/CodeWindowFunctions.cpp
@@ -58,7 +58,6 @@
#include "PowerPC/JitCommon/JitBase.h"
#include "PowerPC/JitCommon/JitCache.h" // for ClearCache()
-#include "PluginManager.h"
#include "ConfigManager.h"
extern "C" // Bitmaps
@@ -542,15 +541,11 @@ void CCodeWindow::ToggleSoundWindow(bool bShow)
void CCodeWindow::ToggleDLLWindow(int Id, bool bShow)
{
std::string DLLName;
- int PluginType;
+ //int PluginType;
wxPanel *Win;
switch(Id)
{
- case IDM_VIDEOWINDOW:
- DLLName = SConfig::GetInstance().m_LocalCoreStartupParameter.m_strVideoPlugin.c_str();
- PluginType = PLUGIN_TYPE_VIDEO;
- break;
default:
PanicAlert("CCodeWindow::ToggleDLLWindow called with invalid Id");
return;
@@ -559,26 +554,26 @@ void CCodeWindow::ToggleDLLWindow(int Id, bool bShow)
if (bShow)
{
// Show window
- Win = (wxPanel *)CPluginManager::GetInstance().OpenDebug(Parent,
- DLLName.c_str(), (PLUGIN_TYPE)PluginType, bShow);
-
- if (Win)
- {
- Win->Show();
- Win->SetId(Id);
- Parent->DoAddPage(Win,
- iNbAffiliation[Id - IDM_LOGWINDOW],
- Parent->bFloatWindow[Id - IDM_LOGWINDOW]);
- }
+ //Win = (wxPanel *)CPluginManager::GetInstance().OpenDebug(Parent,
+ // DLLName.c_str(), (PLUGIN_TYPE)PluginType, bShow);
+
+ //if (Win)
+ //{
+ // Win->Show();
+ // Win->SetId(Id);
+ // Parent->DoAddPage(Win,
+ // iNbAffiliation[Id - IDM_LOGWINDOW],
+ // Parent->bFloatWindow[Id - IDM_LOGWINDOW]);
+ //}
}
else
{
- Win = (wxPanel *)FindWindowById(Id);
- if (Win)
- {
- Parent->DoRemovePage(Win, false);
- Win->Destroy();
- }
+ //Win = (wxPanel *)FindWindowById(Id);
+ //if (Win)
+ //{
+ // Parent->DoRemovePage(Win, false);
+ // Win->Destroy();
+ //}
}
GetMenuBar()->FindItem(Id)->Check(bShow && !!Win);
}