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
This commit is contained in:
Carl Hetherington 2010-06-29 19:08:19 +00:00
parent bebeb5abec
commit 7898aabcaa
9 changed files with 38 additions and 19 deletions

View file

@ -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;