summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.h
diff options
context:
space:
mode:
authorBen Loftis <ben@harrisonconsoles.com>2014-07-23 11:28:45 -0500
committerBen Loftis <ben@harrisonconsoles.com>2014-07-23 11:31:06 -0500
commitb22e1368877c0cc66a372f7891ff782b89a2f579 (patch)
treec407ae2c11e33a964a52f0f7f6822bbb80a43bb3 /gtk2_ardour/editor.h
parent7984cd23212be1428e3d644e2200bb96fcef13e6 (diff)
Add some new zoom-to-selection actions, so zoom tool is less needed.
Reverse order of items in the zoom menus to match Ardour. Consolidate the extra zoom math into a function; this fixes a problem in zoom-to-session.
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r--gtk2_ardour/editor.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h
index 00fe0e04ea..d3d240611a 100644
--- a/gtk2_ardour/editor.h
+++ b/gtk2_ardour/editor.h
@@ -1216,7 +1216,8 @@ class Editor : public PublicEditor, public PBD::ScopedConnectionList, public ARD
void play_location (ARDOUR::Location&);
void loop_location (ARDOUR::Location&);
- void temporal_zoom_selection ();
+ void calc_extra_zoom_edges(framepos_t &start, framepos_t &end);
+ void temporal_zoom_selection (bool both_axes = false);
void temporal_zoom_region (bool both_axes);
void zoom_to_region (bool both_axes);
void temporal_zoom_session ();