diff options
author | Carl Hetherington <carl@carlh.net> | 2012-04-22 14:03:07 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2012-04-22 14:03:07 +0000 |
commit | a4434809e147d7f091fd488d047c531ff4c344c9 (patch) | |
tree | 2ffc14ef55a0ca310b4f772bcb87d662084a752c /gtk2_ardour/selection.h | |
parent | 82c867bf2a6f4de102707b812a87d68e3bd6e170 (diff) |
Use a list of ControlPoints to hold the automation selection,
rather than a time range. This makes more sense now that we
display every point on an automation line, rather than just
a subset. Makes the code a fair bit simpler, and should fix
some unexpected behaviours, especially when cutting automation
points.
git-svn-id: svn://localhost/ardour2/branches/3.0@12054 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index c474faa5b2..df7212593f 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -165,6 +165,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void add (Marker*); void add (const std::list<Marker*>&); void add (const RegionSelection&); + void add (const PointSelection&); void remove (TimeAxisView*); void remove (const TrackViewList&); void remove (const MidiNoteSelection&); @@ -178,6 +179,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void remove (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&); void remove (const std::list<Selectable*>&); void remove (Marker*); + void remove (ControlPoint *); void remove_regions (TimeAxisView *); @@ -202,8 +204,6 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList int set_state (XMLNode const &, int); private: - void set_point_selection_from_line (AutomationLine const &); - PublicEditor const * editor; uint32_t next_time_id; bool _no_tracks_changed; |