mirror of
https://github.com/Ardour/ardour.git
synced 2026-01-27 07:28:17 +01:00
Support cut / copy / paste of MIDI automation.
git-svn-id: svn://localhost/ardour2/branches/3.0@7545 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
parent
e7a2b99f3d
commit
5e3ca4db5c
16 changed files with 169 additions and 67 deletions
|
|
@ -1145,7 +1145,10 @@ ControlList::cut (iterator start, iterator end)
|
|||
return nal;
|
||||
}
|
||||
|
||||
/** @param op 0 = cut, 1 = copy, 2 = clear */
|
||||
/** @param start Start position in model coordinates.
|
||||
* @param end End position in model coordinates.
|
||||
* @param op 0 = cut, 1 = copy, 2 = clear.
|
||||
*/
|
||||
boost::shared_ptr<ControlList>
|
||||
ControlList::cut_copy_clear (double start, double end, int op)
|
||||
{
|
||||
|
|
@ -1247,9 +1250,10 @@ ControlList::copy (double start, double end)
|
|||
void
|
||||
ControlList::clear (double start, double end)
|
||||
{
|
||||
(void) cut_copy_clear (start, end, 2);
|
||||
cut_copy_clear (start, end, 2);
|
||||
}
|
||||
|
||||
/** @param pos Position in model coordinates */
|
||||
bool
|
||||
ControlList::paste (ControlList& alist, double pos, float /*times*/)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue