summaryrefslogtreecommitdiff
path: root/gtk2_ardour/midi_region_view.h
diff options
context:
space:
mode:
authorTim Mayberry <mojofunk@gmail.com>2016-02-10 22:55:37 +1000
committerTim Mayberry <mojofunk@gmail.com>2016-02-11 08:17:18 +1000
commit90e35c7143b09669497370df33b8056275cede22 (patch)
treebea9746d986204d18c47373bdff27410d65fa299 /gtk2_ardour/midi_region_view.h
parent2b42dc13fd60739727199f4dc9ed61e1a4a97912 (diff)
Fix bug #6762, MIDNAM note read outs don't work when dragging MIDI note
Also fixes it so the key is selected in the piano roll header
Diffstat (limited to 'gtk2_ardour/midi_region_view.h')
-rw-r--r--gtk2_ardour/midi_region_view.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gtk2_ardour/midi_region_view.h b/gtk2_ardour/midi_region_view.h
index 5733861d87..b24b767981 100644
--- a/gtk2_ardour/midi_region_view.h
+++ b/gtk2_ardour/midi_region_view.h
@@ -337,6 +337,9 @@ public:
void note_deleted (NoteBase*);
+ void show_verbose_cursor_for_new_note_value(boost::shared_ptr<NoteType> current_note,
+ uint8_t new_note) const;
+
protected:
void region_resized (const PBD::PropertyChange&);
@@ -391,6 +394,8 @@ private:
void add_to_selection (NoteBase*);
void remove_from_selection (NoteBase*);
+ std::string get_note_name (boost::shared_ptr<NoteType> note, uint8_t note_value) const;
+
void show_verbose_cursor (std::string const &, double, double) const;
void show_verbose_cursor (boost::shared_ptr<NoteType>) const;