summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor.cc
diff options
context:
space:
mode:
authorBen Loftis <ben@glw.com>2012-11-20 19:43:43 +0000
committerBen Loftis <ben@glw.com>2012-11-20 19:43:43 +0000
commitbeb3ec2d7a440308bce6e2db793d78f528c9fa85 (patch)
treee673c98d6d5011f78eebd2e4b18975e95773ec6c /gtk2_ardour/editor.cc
parent38c10a4d2367111f3b9c7ac2223a8b633bfeb147 (diff)
Always Play Range is now Follow Edits, and is based on Mixbus implementation. Added menu item. Follow Edits button replaces Auto Play; removed the connector between play and play-range. Some Smart Mode changes came along for the ride but will be cleaned up shortly
git-svn-id: svn://localhost/ardour2/branches/3.0@13537 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.cc')
-rw-r--r--gtk2_ardour/editor.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk2_ardour/editor.cc b/gtk2_ardour/editor.cc
index 792da29170..330646a42d 100644
--- a/gtk2_ardour/editor.cc
+++ b/gtk2_ardour/editor.cc
@@ -794,6 +794,12 @@ Editor::add_toplevel_controls (Container& cont)
cont.show_all ();
}
+bool
+Editor::get_smart_mode () const
+{
+ return ( (current_mouse_mode() == Editing::MouseObject) && smart_mode_action->get_active() );
+}
+
void
Editor::catch_vanishing_regionview (RegionView *rv)
{