diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-05 21:09:22 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2008-02-05 21:09:22 +0000 |
commit | c2ac101a10a2f87b1d01f3906ed7ef76214a7fa6 (patch) | |
tree | 8a0c16043723872f56560ed7940b421b4c4020cf /gtk2_ardour/editor.h | |
parent | 8f77a845524b91bb62cf73e318c41abd991235c0 (diff) |
rationalize all region selection for editor operations
git-svn-id: svn://localhost/ardour2/branches/2.0-ongoing@3013 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/editor.h')
-rw-r--r-- | gtk2_ardour/editor.h | 19 |
1 files changed, 3 insertions, 16 deletions
diff --git a/gtk2_ardour/editor.h b/gtk2_ardour/editor.h index 48b9cef25d..128b9b244e 100644 --- a/gtk2_ardour/editor.h +++ b/gtk2_ardour/editor.h @@ -2009,18 +2009,7 @@ public: TimeAxisView* entered_track; RegionView* entered_regionview; - class ExclusiveRegionSelection { - public: - ExclusiveRegionSelection (Editor&, RegionView*); - ~ExclusiveRegionSelection (); - - private: - Editor& editor; - RegionView* regionview; - bool remove; - }; - void ensure_entered_region_selected (bool op_acts_on_objects = false); void ensure_entered_track_selected (bool op_acts_on_objects = false); bool clear_entered_track; gint left_track_canvas (GdkEventCrossing*); @@ -2065,12 +2054,10 @@ public: bool get_edit_op_range (nframes64_t& start, nframes64_t& end) const; - RegionSelection get_regions_at (nframes64_t where, const TrackSelection& ts) const; - RegionSelection get_regions_after (nframes64_t where, const TrackSelection& ts) const; - - RegionSelection tmp_regions; + void get_regions_at (RegionSelection&, nframes64_t where, const TrackSelection& ts) const; + void get_regions_after (RegionSelection&, nframes64_t where, const TrackSelection& ts) const; - RegionSelection& get_regions_for_action (); + void get_regions_for_action (RegionSelection&, bool allowed_entered_regionview = true); sigc::connection fast_screen_update_connection; gint start_updating (); |