diff options
author | David Robillard <d@drobilla.net> | 2007-06-30 18:41:50 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2007-06-30 18:41:50 +0000 |
commit | bbf41757133a29df0d37905f2fdce091878d2ffd (patch) | |
tree | 2506ed83985d406019236c68704df0b9542dbe3a /gtk2_ardour/time_axis_view.h | |
parent | 685fa95e729e5d510b28b4c715da062e9db580d9 (diff) |
Another not-quite-there-but-better commit.
Brought plugin automation into the fold of new automation system.
Fixed plugin automation, broke panner automation :] (pending Panner work).
Made AutomationController better at automatically following it's controller value (mimic what gain meter does).
Fixed some visible automation track bugs (but still broken WRT serialization).
git-svn-id: svn://localhost/ardour2/trunk@2092 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/time_axis_view.h')
-rw-r--r-- | gtk2_ardour/time_axis_view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/gtk2_ardour/time_axis_view.h b/gtk2_ardour/time_axis_view.h index c4f86dee5d..722350594a 100644 --- a/gtk2_ardour/time_axis_view.h +++ b/gtk2_ardour/time_axis_view.h @@ -209,6 +209,8 @@ class TimeAxisView : public virtual AxisView /* call this on the parent */ virtual XMLNode* get_child_xml_node (const string & childname) { return 0; } + + typedef std::vector<boost::shared_ptr<TimeAxisView> > Children; protected: @@ -279,11 +281,11 @@ class TimeAxisView : public virtual AxisView /** Find the parent with state */ TimeAxisView* get_parent_with_state(); - std::vector<TimeAxisView*> children; + Children children; bool is_child (TimeAxisView*); - void remove_child (TimeAxisView*); - void add_child (TimeAxisView*); + void remove_child (boost::shared_ptr<TimeAxisView>); + void add_child (boost::shared_ptr<TimeAxisView>); /* selection display */ |