Fix parameter range stuff and automation time axis height (somewhat...).

Create a new AutomationLine when an AutomationRegionView without a line is clicked.


git-svn-id: svn://localhost/ardour2/branches/3.0@3757 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
David Robillard 2008-09-19 06:30:49 +00:00
parent 2539b8fc18
commit 60f588f21d
26 changed files with 199 additions and 89 deletions

View file

@ -22,6 +22,8 @@
namespace Evoral {
Parameter::TypeMetadata Parameter::_type_metadata;
Control::Control(boost::shared_ptr<ControlList> list)
: _list(list)
, _user_value(list->default_value())
@ -72,7 +74,7 @@ Control::set_list(boost::shared_ptr<ControlList> list)
}
Parameter
const Parameter&
Control::parameter() const
{
return _list->parameter();