diff options
author | Michael Meeks <michael.meeks@novell.com> | 2011-06-16 17:14:00 +0100 |
---|---|---|
committer | Michael Meeks <michael.meeks@suse.com> | 2011-10-25 13:41:40 +0100 |
commit | bd42e9afa0d888fdd3609c08c4e20c54724cc093 (patch) | |
tree | e7c9b5af56a935b959561fdd539e0192533e29b2 /vcl/inc/unx/gtk/gtkframe.hxx | |
parent | 40360820036a5d6a3359d1b5ec748a47a7edd85f (diff) |
gtk3: switch to basebmp rendering during 'draw'
Diffstat (limited to 'vcl/inc/unx/gtk/gtkframe.hxx')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index 78aea06017a8..3fcb1d59c66f 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -45,6 +45,9 @@ #include "tools/link.hxx" +#include <basebmp/bitmapdevice.hxx> +#include <basebmp/scanlineformats.hxx> + #include <list> #include <vector> @@ -175,6 +178,9 @@ class GtkSalFrame : public SalFrame int m_nScreen; GtkWidget* m_pWindow; +#if GTK_CHECK_VERSION(3,0,0) && !defined GTK3_X11_RENDER + basebmp::BitmapDeviceSharedPtr m_aFrame; +#endif GdkWindow* m_pForeignParent; GdkNativeWindow m_aForeignParentWindow; GdkWindow* m_pForeignTopLevel; @@ -286,6 +292,8 @@ class GtkSalFrame : public SalFrame void createNewWindow( XLIB_Window aParent, bool bXEmbed, int nScreen ); void askForXEmbedFocus( sal_Int32 nTimecode ); + void AllocateFrame(); + void updateWMClass(); DECL_LINK( ImplDelayedFullScreenHdl, void* ); |