diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-13 14:11:01 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-08-13 14:11:01 +0000 |
commit | aac46a38fbd3b979dd1d352a4d1454ac8a70793f (patch) | |
tree | 824b9b41eee1b4f630a6444e0de36396908cf76c /gtk2_ardour/midi_region_view.h | |
parent | 3364fda3decc12360bd15faa9210ede0a47ba1fc (diff) |
add step editing sustain support
git-svn-id: svn://localhost/ardour2/branches/3.0@7615 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 268bcdc0dd..ccab1d06bc 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -94,8 +94,8 @@ class MidiRegionView : public RegionView { return midi_view()->midi_view(); } void step_add_note (uint8_t channel, uint8_t number, uint8_t velocity, - Evoral::MusicalTime pos, Evoral::MusicalTime len); - + Evoral::MusicalTime pos, Evoral::MusicalTime len); + void step_sustain (Evoral::MusicalTime beats); void set_height (double); void apply_note_range(uint8_t lowest, uint8_t highest, bool force=false); @@ -276,7 +276,7 @@ class MidiRegionView : public RegionView void goto_previous_note (); void goto_next_note (); - void change_note_lengths (bool, bool, bool start, bool end); + void change_note_lengths (bool, bool, Evoral::MusicalTime beats, bool start, bool end); void change_velocities (bool up, bool fine, bool allow_smush); void transpose (bool up, bool fine, bool allow_smush); void nudge_notes (bool forward); |