diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-04 20:28:10 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-04 20:28:10 +0000 |
commit | 38f2336b450982ccfc03017238c431b5edb3b20c (patch) | |
tree | aa4eeb043b492c3c56adec4b9f6a795445d16b79 /gtk2_ardour/midi_time_axis.cc | |
parent | 8588225b3131b5fd5e5fd51c2f9fe040e4d393b5 (diff) |
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
Diffstat (limited to 'gtk2_ardour/midi_time_axis.cc')
-rw-r--r-- | gtk2_ardour/midi_time_axis.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_time_axis.cc b/gtk2_ardour/midi_time_axis.cc index 4a13004a96..b2c6cb81ae 100644 --- a/gtk2_ardour/midi_time_axis.cc +++ b/gtk2_ardour/midi_time_axis.cc @@ -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) { |