From 1c145ccfc37e0a16bf959de388ff098ca5f8f499 Mon Sep 17 00:00:00 2001 From: Ben Loftis Date: Sat, 26 Aug 2017 22:44:48 -0500 Subject: Editor zooming: Config preference to define how much zooming will be easily allowed beyond the session_ui_extents() --- gtk2_ardour/rc_option_editor.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'gtk2_ardour/rc_option_editor.cc') diff --git a/gtk2_ardour/rc_option_editor.cc b/gtk2_ardour/rc_option_editor.cc index ea7db58809..0cf2ed41f3 100644 --- a/gtk2_ardour/rc_option_editor.cc +++ b/gtk2_ardour/rc_option_editor.cc @@ -2345,6 +2345,18 @@ RCOptionEditor::RCOptionEditor () dps->add (1.0, _("100%")); add_option (_("Editor"), dps); + ComboOption* eet = new ComboOption ( + "extra-ui-extents-time", + _("Limit zooming & summary view to X minutes beyond session extents"), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::get_extra_ui_extents_time), + sigc::mem_fun (UIConfiguration::instance(), &UIConfiguration::set_extra_ui_extents_time) + ); + eet->add (1, _("1 minute")); + eet->add (2, _("2 minutes")); + eet->add (20, _("20 minutes")); + eet->add (60, _("1 hour")); + add_option (_("Editor"), eet); + if (!Profile->get_mixbus()) { add_option (_("Editor"), -- cgit v1.2.3