Isolate D3D and Software Renderer from wxWidgets code

This commit is contained in:
Lioncash
2014-08-03 20:07:27 -04:00
parent 35654513c1
commit a66a7e1344
11 changed files with 227 additions and 22 deletions

View File

@ -33,10 +33,6 @@
#include "VideoBackends/Software/VideoBackend.h"
#include "VideoBackends/Software/XFMemLoader.h"
#if defined(HAVE_WX) && HAVE_WX
#include "VideoBackends/Software/VideoConfigDialog.h"
#endif // HAVE_WX
#include "VideoCommon/Fifo.h"
#include "VideoCommon/OnScreenDisplay.h"
#include "VideoCommon/PixelEngine.h"
@ -62,12 +58,17 @@ static std::mutex m_csSWVidOccupied;
std::string VideoSoftware::GetName() const
{
return _trans("Software Renderer");
return "Software Renderer";
}
void VideoSoftware::ShowConfig(void *_hParent)
std::string VideoSoftware::GetDisplayName() const
{
Host_ShowVideoConfig(_hParent, "Software", "gfx_software");
return "Software Renderer";
}
void VideoSoftware::ShowConfig(void *hParent)
{
Host_ShowVideoConfig(hParent, GetDisplayName(), "gfx_software");
}
bool VideoSoftware::Initialize(void *&window_handle)