defer dc screen grab until blit
This commit is contained in:
committed by
Vadim Zeitlin
parent
694decea6e
commit
cc01fbc3c0
@@ -111,6 +111,8 @@ public:
|
||||
virtual void* GetHandle() const { return (void*) m_qtPainter; }
|
||||
|
||||
protected:
|
||||
virtual QImage *GetQImage() { return m_qtImage; }
|
||||
|
||||
QPainter *m_qtPainter;
|
||||
QImage *m_qtImage;
|
||||
|
||||
|
@@ -20,9 +20,6 @@ public:
|
||||
|
||||
protected:
|
||||
wxWindow *m_window;
|
||||
|
||||
private:
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
@@ -24,8 +24,6 @@ public:
|
||||
virtual const wxBitmap& GetSelectedBitmap() const;
|
||||
virtual wxBitmap& GetSelectedBitmap();
|
||||
|
||||
protected:
|
||||
|
||||
private:
|
||||
wxBitmap m_selected;
|
||||
};
|
||||
|
@@ -17,9 +17,11 @@ public:
|
||||
|
||||
~wxScreenDCImpl();
|
||||
|
||||
protected:
|
||||
virtual void DoGetSize(int *width, int *height) const wxOVERRIDE;
|
||||
virtual bool DoGetPixel(wxCoord x, wxCoord y, wxColour *col) const;
|
||||
|
||||
private:
|
||||
QImage *GetQImage();
|
||||
|
||||
wxDECLARE_ABSTRACT_CLASS(wxScreenDCImpl);
|
||||
};
|
||||
|
Reference in New Issue
Block a user