mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-24 22:27:36 +01:00
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:
parent
2539b8fc18
commit
60f588f21d
26 changed files with 199 additions and 89 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue