diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-15 18:54:04 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2010-09-15 18:54:04 +0000 |
commit | 084dda86a7c4391aba4e9f37f752af4846ded15d (patch) | |
tree | 067abd6a4ad767958bc3a391c96f5486f8e3462f /gtk2_ardour/midi_region_view.h | |
parent | 7eea9fac9d23cdb2a6b39c2fbd4b680fafb40a5c (diff) |
when there is a chord at the beginning of a note selection, play the whole chord during drags, not just the first note. seems to be able to send a bank swap message - probably an existingbug
git-svn-id: svn://localhost/ardour2/branches/3.0@7784 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index b0cc505aee..baf67928c8 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -308,6 +308,7 @@ class MidiRegionView : public RegionView * and schedule the playback of the corresponding NoteOff event. */ void play_midi_note(boost::shared_ptr<NoteType> note); + void play_midi_chord (std::vector<boost::shared_ptr<NoteType> > notes); /** Play the NoteOff-Event of the given note immediately * (scheduled by @ref play_midi_note()). @@ -371,7 +372,8 @@ class MidiRegionView : public RegionView ArdourCanvas::SimpleRect* _step_edit_cursor; Evoral::MusicalTime _step_edit_cursor_width; Evoral::MusicalTime _step_edit_cursor_position; - + Evoral::MusicalTime _earliest_selected_time; + MouseState _mouse_state; int _pressed_button; |