add beat-resync button to step editor (move insertion point to next whole beat from region start)

git-svn-id: svn://localhost/ardour2/branches/3.0@7541 d708f5d6-7413-0410-9779-e7cbd77b26cf
This commit is contained in:
Paul Davis 2010-08-04 20:28:10 +00:00
parent 8588225b31
commit 38f2336b45
4 changed files with 43 additions and 13 deletions

View file

@ -1084,6 +1084,17 @@ MidiTimeAxisView::step_edit_rest (Evoral::MusicalTime beats)
}
}
void
MidiTimeAxisView::step_edit_beat_sync ()
{
step_edit_beat_pos = ceil (step_edit_beat_pos);
}
void
MidiTimeAxisView::step_edit_bar_sync ()
{
}
boost::shared_ptr<Region>
MidiTimeAxisView::add_region (framepos_t pos)
{