X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/20e05ffbd3eff02a4c643e412d4f600cdea26952..f5526d3613532a662f65b108007e5fef14c2e940:/include/wx/gtk/dcclient.h diff --git a/include/wx/gtk/dcclient.h b/include/wx/gtk/dcclient.h index a28585ffbd..f91eae7dc9 100644 --- a/include/wx/gtk/dcclient.h +++ b/include/wx/gtk/dcclient.h @@ -40,6 +40,7 @@ public: virtual bool CanDrawBitmap() const { return TRUE; } virtual bool CanGetTextExtent() const { return TRUE; } +//protected: virtual void DoFloodFill( wxCoord x, wxCoord y, const wxColour& col, int style=wxFLOOD_SURFACE ); virtual bool DoGetPixel( wxCoord x1, wxCoord y1, wxColour *col ) const; @@ -70,6 +71,8 @@ public: int logical_func = wxCOPY, bool useMask = FALSE ); virtual void DoDrawText( const wxString &text, wxCoord x, wxCoord y ); + virtual void DoDrawRotatedText(const wxString& text, wxCoord x, wxCoord y, + double angle); virtual void DoGetTextExtent( const wxString &string, wxCoord *width, wxCoord *height, wxCoord *descent = (wxCoord *) NULL, @@ -112,14 +115,21 @@ public: GdkGC *m_bgGC; GdkColormap *m_cmap; bool m_isMemDC; + bool m_isScreenDC; wxWindow *m_owner; + wxRegion m_currentClippingRegion; + wxRegion m_paintClippingRegion; +#ifdef __WXGTK20__ + PangoContext *m_context; + PangoFontDescription *m_fontdesc; +#endif void SetUpDC(); void Destroy(); void ComputeScaleAndOrigin(); GdkWindow *GetWindow() { return m_window; } - + private: DECLARE_DYNAMIC_CLASS(wxWindowDC) }; @@ -133,7 +143,7 @@ class wxPaintDC : public wxWindowDC public: wxPaintDC(); wxPaintDC( wxWindow *win ); - + private: DECLARE_DYNAMIC_CLASS(wxPaintDC) }; @@ -147,7 +157,7 @@ class wxClientDC : public wxWindowDC public: wxClientDC(); wxClientDC( wxWindow *win ); - + private: DECLARE_DYNAMIC_CLASS(wxClientDC) };