mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
move a bunch of MIDI editing into EditingContext
This commit is contained in:
parent
a2f04a3104
commit
bde4768734
10 changed files with 462 additions and 358 deletions
|
|
@ -2323,28 +2323,6 @@ Editor::edit_control_point (ArdourCanvas::Item* item)
|
|||
}
|
||||
}
|
||||
|
||||
void
|
||||
Editor::edit_notes (MidiView* mrv)
|
||||
{
|
||||
MidiView::Selection const & s = mrv->selection();
|
||||
|
||||
if (s.empty ()) {
|
||||
return;
|
||||
}
|
||||
|
||||
EditNoteDialog* d = new EditNoteDialog (mrv, s);
|
||||
d->show_all ();
|
||||
|
||||
d->signal_response().connect (sigc::bind (sigc::mem_fun (*this, &Editor::note_edit_done), d));
|
||||
}
|
||||
|
||||
void
|
||||
Editor::note_edit_done (int r, EditNoteDialog* d)
|
||||
{
|
||||
d->done (r);
|
||||
delete d;
|
||||
}
|
||||
|
||||
void
|
||||
Editor::edit_region (RegionView* rv)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue