diff options
author | Carl Hetherington <carl@carlh.net> | 2007-10-07 15:51:14 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2007-10-07 15:51:14 +0000 |
commit | 3f38e6b7f56ad85891d3669e0f1c58e6124b07f6 (patch) | |
tree | 49040369362473ad830907cbd524667d39d1703c /gtk2_ardour/selection.h | |
parent | 49763a55c9bcbff2cb7844f36df777bbfadab172 (diff) |
Re-work edit group selection in line with suggestions from Paul.
git-svn-id: svn://localhost/ardour2/trunk@2529 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index a8f298434a..5e9bc04759 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -36,6 +36,7 @@ class TimeAxisView; class RegionView; class Selectable; +class PublicEditor; namespace ARDOUR { class Region; @@ -71,8 +72,7 @@ class Selection : public sigc::trackable PlaylistSelection playlists; PointSelection points; - Selection() { - next_time_id = 0; + Selection (PublicEditor const * e) : editor (e), next_time_id (0) { clear(); } @@ -149,7 +149,10 @@ class Selection : public sigc::trackable void foreach_regionview (void (RegionView::*method)(void)); template<class A> void foreach_region (void (ARDOUR::Region::*method)(A), A arg); + void select_edit_group_regions (); + private: + PublicEditor const * editor; uint32_t next_time_id; void add (std::vector<AutomationSelectable*>&); |