summaryrefslogtreecommitdiff
path: root/gtk2_ardour/editor_route_list.cc
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2008-03-14 20:06:42 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2008-03-14 20:06:42 +0000
commitfb6565456e2070f088b2387923d78934ac8ab957 (patch)
tree679975e17bd5697cc09081e191bab3a9924f7c07 /gtk2_ardour/editor_route_list.cc
parentb0ccb3d4d418f912ec0a54f50fa6846d599e5a0a (diff)
make feature lines (rhythm ferret etc) scale with zoom; hide them whenever RF hides
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3143 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_route_list.cc')
-rw-r--r--gtk2_ardour/editor_route_list.cc8
1 files changed, 8 insertions, 0 deletions
diff --git a/gtk2_ardour/editor_route_list.cc b/gtk2_ardour/editor_route_list.cc
index 4bf73ecaff..306129b97d 100644
--- a/gtk2_ardour/editor_route_list.cc
+++ b/gtk2_ardour/editor_route_list.cc
@@ -566,3 +566,11 @@ Editor::route_list_display_drag_data_received (const RefPtr<Gdk::DragContext>& c
cerr << "some other kind of drag\n";
context->drag_finish (true, false, time);
}
+
+void
+Editor::foreach_time_axis_view (sigc::slot<void,TimeAxisView&> theslot)
+{
+ for (TrackViewList::iterator i = track_views.begin(); i != track_views.end(); ++i) {
+ theslot (**i);
+ }
+}