summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorRobin Gareus <robin@gareus.org>2019-11-09 01:35:55 +0100
committerRobin Gareus <robin@gareus.org>2019-11-09 05:59:55 +0100
commita701882e665d71be9fdb14352332dafdc66e664b (patch)
tree00aea0f7dafc3498b0350eec264f8023fc03354c /gtk2_ardour/public_editor.h
parent3cecc3d26bb746aa8b2e6d22811e936e8925d61a (diff)
Add convenience methods to test for active drags
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index 0093dc3216..2723726850 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -447,6 +447,8 @@ public:
virtual TrackViewList const & get_track_views () const = 0;
virtual DragManager* drags () const = 0;
+ virtual bool drag_active () const = 0;
+ virtual bool preview_video_drag_active () const = 0;
virtual void maybe_autoscroll (bool, bool, bool from_headers) = 0;
virtual void stop_canvas_autoscroll () = 0;
virtual bool autoscroll_active() const = 0;