diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-07-12 21:21:57 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:42 +0100 |
commit | f8ecdeb79248f000d3f462532494058286e22665 (patch) | |
tree | f27bafac194e54ff6badf03f0ddd82f84ea55750 /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | 43e961e4e375b0456ac9d8dce84b35354521c0e4 (diff) |
gtk3: initial copyArea support for optimised scrolling, and improved rendering
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 7 |
1 files changed, 6 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(); |