X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/512cfcc34118a5da1b14c8cbaae1690fd4b23a4b..a8fd1047b81302d010ff29b9c0885819cbf25011:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index 4e79dab32d..b2fde5265b 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -71,7 +71,7 @@ public: const wxFont *theFont = (wxFont *) NULL) const; virtual bool DoGetPartialTextExtents(const wxString& text, wxArrayInt& widths) const; virtual void DoSetClippingRegion( wxCoord x, wxCoord y, wxCoord width, wxCoord height ); - virtual void DoSetClippingRegionAsRegion( const wxRegion ®ion ); + virtual void DoSetDeviceClippingRegion( const wxRegion ®ion ); virtual wxCoord GetCharWidth() const; virtual wxCoord GetCharHeight() const; @@ -119,11 +119,15 @@ public: void SetUpDC( bool ismem = false ); void Destroy(); - + virtual void ComputeScaleAndOrigin(); virtual GdkWindow *GetGDKWindow() const { return m_gdkwindow; } +private: + void DrawingSetup(GdkGC*& gc, bool& originChanged); + GdkPixmap* MonoToColor(GdkPixmap* monoPixmap, int x, int y, int w, int h) const; + DECLARE_ABSTRACT_CLASS(wxWindowDCImpl) };