summaryrefslogtreecommitdiff
path: root/gtk2_ardour/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/editor.h
parent3cecc3d26bb746aa8b2e6d22811e936e8925d61a (diff)
Add convenience methods to test for active drags
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index a560478c7e..5dab984f38 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -493,6 +493,9 @@ public:
return _drags;
}
+ bool drag_active () const;
+ bool preview_video_drag_active () const;
+
void maybe_autoscroll (bool, bool, bool);
bool autoscroll_active() const;