summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/Debugger/CodeView.h
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2014-08-24 14:59:02 -0400
committerLioncash <mathew1800@gmail.com>2014-08-24 15:40:05 -0400
commitc3e41809d9d43e3c251ac6bb6e5bb21fcc1e7442 (patch)
tree67565f508b8b7258cf82eb9b147636627cd105de /Source/Core/DolphinWX/Debugger/CodeView.h
parentb749a74d33113aa0aef66eb466ffeea8481e32f5 (diff)
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.
Diffstat (limited to 'Source/Core/DolphinWX/Debugger/CodeView.h')
-rw-r--r--Source/Core/DolphinWX/Debugger/CodeView.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/Core/DolphinWX/Debugger/CodeView.h b/Source/Core/DolphinWX/Debugger/CodeView.h
index b6e643fae6..82b4925527 100644
--- a/Source/Core/DolphinWX/Debugger/CodeView.h
+++ b/Source/Core/DolphinWX/Debugger/CodeView.h
@@ -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
{