diff options
author | Carl Hetherington <carl@carlh.net> | 2011-02-23 02:08:46 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2011-02-23 02:08:46 +0000 |
commit | ed93d47e7cbf467161d89c84297e19c26039a6ff (patch) | |
tree | b2298feab9625611807a151773ca5366bebd7ada /gtk2_ardour/track_selection.h | |
parent | 8b1203dc335a9c7534ef484bd6842e48439c3652 (diff) |
Make hide/show all crossfades apply to the selection.
git-svn-id: svn://localhost/ardour2/branches/3.0@8939 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/track_selection.h')
-rw-r--r-- | gtk2_ardour/track_selection.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gtk2_ardour/track_selection.h b/gtk2_ardour/track_selection.h index 68ec3b7bd6..0c4f364c4e 100644 --- a/gtk2_ardour/track_selection.h +++ b/gtk2_ardour/track_selection.h @@ -22,6 +22,7 @@ #include "track_view_list.h" #include "route_ui.h" +#include "audio_time_axis.h" class PublicEditor; @@ -49,6 +50,14 @@ public: f (t); } } + + template <typename Function> + void foreach_audio_time_axis (Function f) { + for (iterator i = begin(); i != end(); ++i) { + AudioTimeAxisView* t = dynamic_cast<AudioTimeAxisView*> (*i); + f (t); + } + } private: PublicEditor const * _editor; |