summaryrefslogtreecommitdiff
path: root/libs/canvas/canvas/canvas.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2017-03-21 05:37:44 +0100
committerRobin Gareus <robin@gareus.org>2017-03-21 05:37:44 +0100
commit85b5741081e6932fdebf4a6fa2cd69e5f889e67f (patch)
tree1429fff64f2ff8b3d9386ad76a6af876d3cbfe77 /libs/canvas/canvas/canvas.h
parent533a93daa6c311348b286a3caf81c59b25bd1d7f (diff)
Allow to selectively use NSGLView Canvas
Various GdkEvents are not yet handled correctly, eg. unpacking a widget from its container does not unmap it, nor are remaining widgets in the contained re-positioned (size allocation does not change, nor does the mapping). This affects eg. Mixbus Strips
Diffstat (limited to 'libs/canvas/canvas/canvas.h')
-rw-r--r--libs/canvas/canvas/canvas.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/libs/canvas/canvas/canvas.h b/libs/canvas/canvas/canvas.h
index 60e75bf8bf..ec66f71025 100644
--- a/libs/canvas/canvas/canvas.h
+++ b/libs/canvas/canvas/canvas.h
@@ -181,6 +181,8 @@ public:
GtkCanvas ();
~GtkCanvas () { _in_dtor = true ; }
+ void use_nsglview ();
+
void request_redraw (Rect const &);
void request_size (Duple);
void grab (Item *);