diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-07-12 21:06:43 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:40 +0100 |
commit | a6c75c20b44899cf1522f1e732ea8708b255fcc4 (patch) | |
tree | 4a7093f9eb7476795db5b055770e36140a99a039 /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | bd42e9afa0d888fdd3609c08c4e20c54724cc093 (diff) |
gtk3: clean up debug, ensure damage is propagated to clones / subsets
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index 3fcb1d59c66f..feb1f9fc669a 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -61,7 +61,7 @@ typedef XLIB_Window GdkNativeWindow; #define gdk_window_foreign_new_for_display(a,b) gdk_x11_window_foreign_new_for_display(a,b) #endif -class GtkSalFrame : public SalFrame +class GtkSalFrame : public SalFrame, basebmp::BitmapDeviceDamageTracker { static const int nMaxGraphics = 2; @@ -180,6 +180,7 @@ class GtkSalFrame : public SalFrame GtkWidget* m_pWindow; #if GTK_CHECK_VERSION(3,0,0) && !defined GTK3_X11_RENDER basebmp::BitmapDeviceSharedPtr m_aFrame; + int m_nDuringRender; #endif GdkWindow* m_pForeignParent; GdkNativeWindow m_aForeignParentWindow; @@ -426,6 +427,8 @@ public: virtual void EndSetClipRegion(); static GtkSalFrame *getFromWindow( GtkWindow *pWindow ); + + virtual void damaged (const basegfx::B2IRange& rDamageRect); }; |