diff options
author | Carl Hetherington <carl@carlh.net> | 2010-08-11 01:23:03 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-08-11 01:23:03 +0000 |
commit | efe60474d6447fa710db5dd863f3058e3ab2e511 (patch) | |
tree | 91084a3378904dcfadacd94507d2035e49973277 /gtk2_ardour/selection.h | |
parent | 33e58df92c0b6731bdabe96f67bebad665c5d8da (diff) |
Hopefully fix up automation control point selection (finally).
git-svn-id: svn://localhost/ardour2/branches/3.0@7592 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/selection.h')
-rw-r--r-- | gtk2_ardour/selection.h | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/gtk2_ardour/selection.h b/gtk2_ardour/selection.h index ca678fd832..e81e1bdea8 100644 --- a/gtk2_ardour/selection.h +++ b/gtk2_ardour/selection.h @@ -43,6 +43,9 @@ class RegionView; class Selectable; class PublicEditor; class MidiRegionView; +class AutomationLine; +class ControlPoint; + namespace ARDOUR { class Region; @@ -122,7 +125,7 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void set (boost::shared_ptr<Evoral::ControlList>); void set (boost::shared_ptr<ARDOUR::Playlist>); void set (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&); - void set (AutomationSelectable*); + void set (ControlPoint *); void set (Marker*); void set (const RegionSelection&); @@ -137,7 +140,8 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void toggle (ARDOUR::AutomationList*); void toggle (boost::shared_ptr<ARDOUR::Playlist>); void toggle (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&); - void toggle (const std::vector<AutomationSelectable*>&); + void toggle (ControlPoint *); + void toggle (std::vector<ControlPoint*> const &); void toggle (Marker*); void add (TimeAxisView*); @@ -151,6 +155,8 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList void add (boost::shared_ptr<Evoral::ControlList>); void add (boost::shared_ptr<ARDOUR::Playlist>); void add (const std::list<boost::shared_ptr<ARDOUR::Playlist> >&); + void add (ControlPoint *); + void add (std::vector<ControlPoint*> const &); void add (Marker*); void add (const std::list<Marker*>&); void add (const RegionSelection&); @@ -186,10 +192,10 @@ class Selection : public sigc::trackable, public PBD::ScopedConnectionList template<class A> void foreach_region (void (ARDOUR::Region::*method)(A), A arg); private: + void set_point_selection_from_line (AutomationLine const &); + PublicEditor const * editor; uint32_t next_time_id; - - void add (std::vector<AutomationSelectable*>&); }; bool operator==(const Selection& a, const Selection& b); |