mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-03 04:09:29 +01:00
Clean up some confusion with AutomationControls in AutomationTimeAxisViews that have regions.
git-svn-id: svn://localhost/ardour2/branches/3.0@8883 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
81aef8b491
commit
5576faf943
7 changed files with 37 additions and 28 deletions
|
|
@ -106,6 +106,9 @@ class AutomationTimeAxisView : public TimeAxisView {
|
|||
|
||||
boost::shared_ptr<ARDOUR::AutomationControl> control() { return _control; }
|
||||
boost::shared_ptr<AutomationController> controller() { return _controller; }
|
||||
Evoral::Parameter parameter () const {
|
||||
return _parameter;
|
||||
}
|
||||
|
||||
ArdourCanvas::Item* base_item () const {
|
||||
return _base_rect;
|
||||
|
|
@ -118,14 +121,15 @@ class AutomationTimeAxisView : public TimeAxisView {
|
|||
}
|
||||
|
||||
protected:
|
||||
/** parent route *
|
||||
/** parent route */
|
||||
boost::shared_ptr<ARDOUR::Route> _route;
|
||||
/** control; 0 if we are editing region-based automation */
|
||||
boost::shared_ptr<ARDOUR::AutomationControl> _control; ///< Control
|
||||
boost::shared_ptr<ARDOUR::AutomationControl> _control;
|
||||
/** control owner; may be _route, or 0 if we are editing region-based automation */
|
||||
boost::shared_ptr<ARDOUR::Automatable> _automatable;
|
||||
/** controller owner; 0 if we are editing region-based automation */
|
||||
boost::shared_ptr<AutomationController> _controller;
|
||||
Evoral::Parameter _parameter;
|
||||
|
||||
ArdourCanvas::SimpleRect* _base_rect;
|
||||
boost::shared_ptr<AutomationLine> _line;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue