Considerable re-work to allow scrolling of the checkbutton area of the dialogue....
[ardour.git] / gtk2_ardour / selection.h
index a8f298434a54a6e982f9645c00954d97c3e50b61..5e9bc047596c013d1a9f0bd42fc3d5482c3913db 100644 (file)
@@ -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*>&);