diff options
author | Carl Hetherington <carl@carlh.net> | 2009-12-13 19:09:52 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2009-12-13 19:09:52 +0000 |
commit | 034db5fb1cc4d71bfa0e1c005733115df68fdefd (patch) | |
tree | a32b62bac855f7b7d6e97988bfb69d6b9ec9754c /gtk2_ardour/editor_summary.cc | |
parent | 8687895abba4209a6de8d8a8fc1bda5996f0d875 (diff) |
Apply Select property of route groups at the Selection object level. Accordingly
simplify code related to selecting tracks. Add a TrackViewList object rather than
"abusing" TrackSelection in lots of places.
git-svn-id: svn://localhost/ardour2/branches/3.0@6358 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor_summary.cc')
-rw-r--r-- | gtk2_ardour/editor_summary.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/editor_summary.cc b/gtk2_ardour/editor_summary.cc index 9fc0b1119f..d257889682 100644 --- a/gtk2_ardour/editor_summary.cc +++ b/gtk2_ardour/editor_summary.cc @@ -143,7 +143,7 @@ EditorSummary::render (cairo_t* cr) int h = 0; int max_height = 0; - for (PublicEditor::TrackViewList::const_iterator i = _editor->track_views.begin(); i != _editor->track_views.end(); ++i) { + for (TrackViewList::const_iterator i = _editor->track_views.begin(); i != _editor->track_views.end(); ++i) { int const t = (*i)->effective_height (); h += t; max_height = max (max_height, t); @@ -163,7 +163,7 @@ EditorSummary::render (cairo_t* cr) /* render regions */ double y = 0; - for (PublicEditor::TrackViewList::const_iterator i = _editor->track_views.begin(); i != _editor->track_views.end(); ++i) { + for (TrackViewList::const_iterator i = _editor->track_views.begin(); i != _editor->track_views.end(); ++i) { StreamView* s = (*i)->view (); if (s) { |