diff options
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 7 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 5 |
2 files changed, 11 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index d5c2af31e15b..26100372113f 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -182,8 +182,8 @@ class GtkSalFrame : public SalFrame, basebmp::BitmapDeviceDamageTracker GtkWidget* m_pWindow; #if GTK_CHECK_VERSION(3,0,0) && !defined GTK3_X11_RENDER basebmp::BitmapDeviceSharedPtr m_aFrame; - int m_nDuringRender; #endif + int m_nDuringRender; GdkWindow* m_pForeignParent; GdkNativeWindow m_aForeignParentWindow; GdkWindow* m_pForeignTopLevel; @@ -324,6 +324,11 @@ public: int getScreenNumber() const { return m_nScreen; } void updateScreenNumber(); + // only for gtk3 ... + void pushIgnoreDamage(); + void popIgnoreDamage(); + void renderArea( cairo_t *cr, cairo_rectangle_t *src ); + void moveToScreen( int nScreen ); virtual ~GtkSalFrame(); diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index 6d60b2dfd25a..1656ab431eed 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -53,8 +53,13 @@ public: }; #else class GtkSalGraphics : public SvpSalGraphics { + GtkSalFrame *mpFrame; public: GtkSalGraphics( GtkSalFrame *pFrame, GtkWidget *pWindow ); + virtual void copyArea( long nDestX, long nDestY, + long nSrcX, long nSrcY, + long nSrcWidth, long nSrcHeight, + sal_uInt16 /*nFlags*/ ); }; #endif // GTK3_X11_RENDER |