summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2009-08-17 15:58:47 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2009-08-17 15:58:47 +0000
commit3162ffb4f418d85088d53d5e0a4a5d6ce7235e04 (patch)
tree851bf4f3ad5d7ae0e9a8917dfc3ad8d2c2f7899c /gtk2_ardour/midi_region_view.h
parent902a087f15dbdb5546b42930b6cd69294cb0851f (diff)
move assignments out of assert() in editor_drag (thanks lincoln); change mouse mode buttons when in internal/MIDI mode; arrow key control of note velocity, value and position - hey look ma, MIDI editing!
git-svn-id: svn://localhost/ardour2/branches/3.0@5539 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h10
1 files changed, 9 insertions, 1 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index d759b7c411..83cbbc1d77 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -260,7 +260,13 @@ class MidiRegionView : public RegionView
/** Return the current selection as a MidiModel or null if there is no selection */
ARDOUR::MidiModel* selection_as_model () const;
-
+
+ void goto_previous_note ();
+ void goto_next_note ();
+ void change_velocities (int8_t velocity, bool relative);
+ void transpose (bool up, bool fine);
+ void nudge_notes (ARDOUR::MidiModel::TimeType delta);
+
protected:
/** Allows derived types to specify their visibility requirements
* to the TimeAxisViewItem parent class.
@@ -300,6 +306,8 @@ class MidiRegionView : public RegionView
void midi_patch_settings_changed(std::string model, std::string custom_device_mode);
void change_note_velocity(ArdourCanvas::CanvasNoteEvent* ev, int8_t vel, bool relative=false);
+ void change_note_note(ArdourCanvas::CanvasNoteEvent* ev, int8_t note, bool relative=false);
+ void change_note_time(ArdourCanvas::CanvasNoteEvent* ev, ARDOUR::MidiModel::TimeType, bool relative=false);
void clear_selection_except(ArdourCanvas::CanvasNoteEvent* ev);
void clear_selection() { clear_selection_except(NULL); }