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

@ -53,7 +53,7 @@ ControlSet::what_has_data (set<Parameter>& s) const
* for \a parameter does not exist.
*/
boost::shared_ptr<Control>
ControlSet::control (Parameter parameter, bool create_if_missing)
ControlSet::control (const Parameter& parameter, bool create_if_missing)
{
Controls::iterator i = _controls.find(parameter);
@ -73,7 +73,7 @@ ControlSet::control (Parameter parameter, bool create_if_missing)
}
boost::shared_ptr<const Control>
ControlSet::control (Parameter parameter) const
ControlSet::control (const Parameter& parameter) const
{
Controls::const_iterator i = _controls.find(parameter);