diff options
author | Tim Mayberry <mojofunk@gmail.com> | 2016-02-09 20:37:53 +1000 |
---|---|---|
committer | Tim Mayberry <mojofunk@gmail.com> | 2016-11-11 14:13:53 +1000 |
commit | 9485748e17d0f122ed42ba353c08312d58dc188e (patch) | |
tree | fb72899bab84e1932102edfd984db8d7900196c5 /gtk2_ardour/editor.h | |
parent | 4499066f39f735bfe530a8b0d40c211023020b91 (diff) |
Change Editor temporal zoom methods to be able to use different scale for the zoom
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 2c744fcf9f..e93ee2b21e 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -297,8 +297,10 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD Editing::ZoomFocus get_zoom_focus () const { return zoom_focus; } framecnt_t get_current_zoom () const { return samples_per_pixel; } void cycle_zoom_focus (); - void temporal_zoom_step (bool coarser); - void temporal_zoom_step_mouse_focus (bool coarser); + void temporal_zoom_step (bool zoom_out); + void temporal_zoom_step_scale (bool zoom_out, double scale); + void temporal_zoom_step_mouse_focus (bool zoom_out); + void temporal_zoom_step_mouse_focus_scale (bool zoom_out, double scale); void ensure_time_axis_view_is_visible (TimeAxisView const & tav, bool at_top); void tav_zoom_step (bool coarser); void tav_zoom_smooth (bool coarser, bool force_all); |