summaryrefslogtreecommitdiff
path: root/gtk2_ardour/public_editor.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2010-06-29 19:08:19 +0000
committerCarl Hetherington <carl@carlh.net>2010-06-29 19:08:19 +0000
commit7898aabcaa08659cd0bee5bba61df4503b7fadc7 (patch)
tree57cfb8e9693f527595bd5a9045e60f3c9d8c7573 /gtk2_ardour/public_editor.h
parentbebeb5abec36919ac4fce9602a2ad94a4d79935a (diff)
Fix vertical canvas autoscroll when dragging track heights. Fixes #3240.
git-svn-id: svn://localhost/ardour2/branches/3.0@7327 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/public_editor.h')
-rw-r--r--gtk2_ardour/public_editor.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h
index bb498a8c4f..52fb601f8d 100644
--- a/gtk2_ardour/public_editor.h
+++ b/gtk2_ardour/public_editor.h
@@ -79,6 +79,7 @@ class MarkerTimeAxis;
class ImageFrameView;
class ImageFrameTimeAxis;
class MarkerView;
+class DragManager;
/// Representation of the interface of the Editor class
@@ -360,6 +361,10 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible {
virtual Gtkmm2ext::TearOff* mouse_mode_tearoff () const = 0;
virtual Gtkmm2ext::TearOff* tools_tearoff () const = 0;
+ virtual DragManager* drags () const = 0;
+ virtual void maybe_autoscroll (bool, bool) = 0;
+ virtual void stop_canvas_autoscroll () = 0;
+
/// Singleton instance, set up by Editor::Editor()
static PublicEditor* _instance;