summaryrefslogtreecommitdiff
path: root/gtk2_ardour/selection.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2009-12-13 19:09:52 +0000
committerCarl Hetherington <carl@carlh.net>2009-12-13 19:09:52 +0000
commit034db5fb1cc4d71bfa0e1c005733115df68fdefd (patch)
treea32b62bac855f7b7d6e97988bfb69d6b9ec9754c /gtk2_ardour/selection.h
parent8687895abba4209a6de8d8a8fc1bda5996f0d875 (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/selection.h')
-rw-r--r--gtk2_ardour/selection.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h
index 4e5f684af9..279b8df59b 100644
--- a/gtk2_ardour/selection.h
+++ b/gtk2_ardour/selection.h
@@ -82,7 +82,7 @@ class Selection : public sigc::trackable
MidiRegionSelection midi_regions;
MidiNoteSelection midi_notes;
- Selection (PublicEditor const * e) : editor (e), next_time_id (0) {
+ Selection (PublicEditor const * e) : tracks (e), editor (e), next_time_id (0) {
clear();
}
@@ -112,7 +112,7 @@ class Selection : public sigc::trackable
void toggle (std::list<Selectable*>&);
void set (TimeAxisView*);
- void set (const std::list<TimeAxisView*>&);
+ void set (const TrackViewList&);
void set (const MidiNoteSelection&);
void set (RegionView*, bool also_clear_tracks = true);
void set (MidiRegionView*);
@@ -126,7 +126,7 @@ class Selection : public sigc::trackable
void set (const RegionSelection&);
void toggle (TimeAxisView*);
- void toggle (const std::list<TimeAxisView*>&);
+ void toggle (const TrackViewList&);
void toggle (const MidiNoteSelection&);
void toggle (RegionView*);
void toggle (MidiRegionView*);
@@ -140,7 +140,7 @@ class Selection : public sigc::trackable
void toggle (Marker*);
void add (TimeAxisView*);
- void add (const std::list<TimeAxisView*>&);
+ void add (const TrackViewList&);
void add (const MidiNoteSelection&);
void add (RegionView*);
void add (MidiRegionView*);
@@ -154,7 +154,7 @@ class Selection : public sigc::trackable
void add (const std::list<Marker*>&);
void add (const RegionSelection&);
void remove (TimeAxisView*);
- void remove (const std::list<TimeAxisView*>&);
+ void remove (const TrackViewList&);
void remove (const MidiNoteSelection&);
void remove (RegionView*);
void remove (MidiRegionView*);