DolphinWX: Move the CodeView debugger view over to wxGraphicsContext

This is a more advanced drawing 'backend' over the previous one and allows us to control things like transparency and anti-aliasing, etc.
This commit is contained in:
Lioncash
2014-08-24 14:59:02 -04:00
parent b749a74d33
commit c3e41809d9
2 changed files with 58 additions and 51 deletions

View File

@ -7,11 +7,13 @@
#define wxUSE_XPM_IN_MSW 1
#define USE_XPM_BITMAPS 1
#include <memory>
#include <vector>
#include <wx/control.h>
#include <wx/defs.h>
#include <wx/event.h>
#include <wx/graphics.h>
#include <wx/windowid.h>
#include "Common/Common.h"
@ -70,7 +72,7 @@ private:
m_ly = y;
}
void LineTo(wxPaintDC &dc, int x, int y);
void LineTo(std::unique_ptr<wxGraphicsContext>& dc, int x, int y);
struct BlrStruct // for IDM_INSERTBLR
{