diff options
author | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-26 23:06:29 -0500 |
---|---|---|
committer | Ben Loftis <ben@harrisonconsoles.com> | 2017-08-26 23:06:29 -0500 |
commit | 631629b8e7d3ca826fc55901653c1c795a8a5083 (patch) | |
tree | 9bee6d3f66af0711abd119137fcc508b8b4f1a44 /gtk2_ardour/editor.h | |
parent | 1c145ccfc37e0a16bf959de388ff098ca5f8f499 (diff) |
Editor zoom: add zoom_to_extents()
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index b43beff9bc..68ba110123 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -365,7 +365,7 @@ public: void toggle_measure_visibility (); /* returns the left-most and right-most time that the gui should allow the user to scroll to */ - std::pair <framepos_t,framepos_t> session_gui_extents() const; + std::pair <framepos_t,framepos_t> session_gui_extents( bool use_extra = true ) const; /* fades */ @@ -1342,6 +1342,7 @@ private: void calc_extra_zoom_edges(framepos_t &start, framepos_t &end); void temporal_zoom_selection (Editing::ZoomAxis); void temporal_zoom_session (); + void temporal_zoom_extents (); void temporal_zoom (framecnt_t samples_per_pixel); void temporal_zoom_by_frame (framepos_t start, framepos_t end); void temporal_zoom_to_frame (bool coarser, framepos_t frame); |