diff options
author | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:30:08 +0000 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2015-03-04 13:36:17 +0000 |
commit | c26e2c8794651120e644ab5b1e1de15bb113c4f0 (patch) | |
tree | a7fc6e9960739611a9ebb0ea207ef3817336dfc6 /vcl/inc | |
parent | f462c9800299f3fa2a7e7f5c718197acc37bbac2 (diff) |
move getCairoContext to GtkSalFrame and reuse
Change-Id: I8c50e6dd51299214ad622b253ffc401244653225
Diffstat (limited to 'vcl/inc')
-rw-r--r-- | vcl/inc/unx/gtk/gtkframe.hxx | 1 | ||||
-rw-r--r-- | vcl/inc/unx/gtk/gtkgdi.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/vcl/inc/unx/gtk/gtkframe.hxx b/vcl/inc/unx/gtk/gtkframe.hxx index a11f1fa8b144..5cb0d9c64b9a 100644 --- a/vcl/inc/unx/gtk/gtkframe.hxx +++ b/vcl/inc/unx/gtk/gtkframe.hxx @@ -341,6 +341,7 @@ public: #if GTK_CHECK_VERSION(3,0,0) // only for gtk3 ... + cairo_t* getCairoContext(); void pushIgnoreDamage(); void popIgnoreDamage(); bool isDuringRender(); diff --git a/vcl/inc/unx/gtk/gtkgdi.hxx b/vcl/inc/unx/gtk/gtkgdi.hxx index a984f1bb1b70..66aa0e0539bf 100644 --- a/vcl/inc/unx/gtk/gtkgdi.hxx +++ b/vcl/inc/unx/gtk/gtkgdi.hxx @@ -58,6 +58,7 @@ public: static void signalSettingsNotify( GObject*, GParamSpec *pSpec, gpointer ); cairo_t* getCairoContext(); + void clipRegion(cairo_t* cr); private: |