From 65b4308c84a794f6d69da6d229790757d9e4e0e2 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Thu, 20 Mar 2014 21:59:37 -0400 Subject: first pass at quantizing vertical scroll to whole tracks. Dragging regions vertically does the quantization BUT speed control is lacking and the region ends up on a track that is still invisible ... to be fixed as the sun rises. --- gtk2_ardour/public_editor.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'gtk2_ardour/public_editor.h') diff --git a/gtk2_ardour/public_editor.h b/gtk2_ardour/public_editor.h index d2f0f9c49b..47d08af7f1 100644 --- a/gtk2_ardour/public_editor.h +++ b/gtk2_ardour/public_editor.h @@ -270,6 +270,8 @@ class PublicEditor : public Gtk::Window, public PBD::StatefulDestructible, publi virtual void ensure_time_axis_view_is_visible (const TimeAxisView& tav) = 0; virtual void scroll_tracks_down_line () = 0; virtual void scroll_tracks_up_line () = 0; + virtual bool scroll_down_one_track () = 0; + virtual bool scroll_up_one_track () = 0; virtual void prepare_for_cleanup () = 0; virtual void finish_cleanup () = 0; virtual void reset_x_origin (framepos_t frame) = 0; -- cgit v1.2.3