diff options
author | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-28 16:06:08 +0000 |
---|---|---|
committer | Paul Davis <paul@linuxaudiosystems.com> | 2009-08-28 16:06:08 +0000 |
commit | e7e071db1a07ec6d66b71982f204c2cbaa70adee (patch) | |
tree | 89bb307195d90c110fa7244a062397403390d21f /gtk2_ardour/midi_region_view.h | |
parent | 710ba02c70545e06ea57193c61bddba706a49dec (diff) |
more MIDI editing tweaks ; flip mouse mode buttons around for MIDI so that "object" mode is the most likely mode for both region \& region editing ; frame handle events (from lincoln's region trimming patch) are now handled more explicitly
git-svn-id: svn://localhost/ardour2/branches/3.0@5600 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r-- | gtk2_ardour/midi_region_view.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h index 7edc4cd835..b88583e64e 100644 --- a/gtk2_ardour/midi_region_view.h +++ b/gtk2_ardour/midi_region_view.h @@ -88,8 +88,6 @@ class MidiRegionView : public RegionView inline MidiStreamView* midi_stream_view() const { return midi_view()->midi_view(); } - ARDOUR::MidiModel::DeltaCommand* apply (ARDOUR::Filter&, const std::string& name); - void set_height (double); void apply_note_range(uint8_t lowest, uint8_t highest, bool force=false); @@ -176,6 +174,7 @@ class MidiRegionView : public RegionView void abort_command(); void note_entered(ArdourCanvas::CanvasNoteEvent* ev); + void note_left(ArdourCanvas::CanvasNoteEvent* ev); void unique_select(ArdourCanvas::CanvasNoteEvent* ev); void note_selected(ArdourCanvas::CanvasNoteEvent* ev, bool add, bool extend=false); void note_deselected(ArdourCanvas::CanvasNoteEvent* ev, bool add); @@ -268,9 +267,9 @@ class MidiRegionView : public RegionView void goto_previous_note (); void goto_next_note (); - void change_velocities (int8_t velocity, bool relative); void change_note_lengths (bool, bool, bool start, bool end); - void transpose (bool up, bool fine); + void change_velocities (bool up, bool fine, bool allow_smush); + void transpose (bool up, bool fine, bool allow_smush); void nudge_notes (bool forward); void show_list_editor (); @@ -374,7 +373,7 @@ class MidiRegionView : public RegionView /* connection used to connect to model's ContentChanged signal */ sigc::connection content_connection; +}; -}; #endif /* __gtk_ardour_midi_region_view_h__ */ |