more MIDI binding map syntax corrections
[ardour.git] / gtk2_ardour / midi_streamview.h
index 8acb62b51ec1e1fa4e7289755a365a51d33de32d..a939d8ea7d5e76b511784e65bfe819a339789e5a 100644 (file)
@@ -56,9 +56,6 @@ class MidiStreamView : public StreamView
        MidiStreamView (MidiTimeAxisView&);
        ~MidiStreamView ();
 
-        void enter_internal_edit_mode ();
-        void leave_internal_edit_mode ();
-
        void set_selected_regionviews (RegionSelection&);
        void get_inverted_selectables (Selection&, std::list<Selectable* >& results);
 
@@ -86,10 +83,7 @@ class MidiStreamView : public StreamView
                { return contents_height()
                        - (note + 1 - lowest_note()) * note_height() + 1; }
 
-       inline uint8_t y_to_note(double y) const
-               { return (uint8_t)((contents_height() - y - 1)
-                               / contents_height() * (double)contents_note_range())
-                               + lowest_note(); }
+       uint8_t y_to_note(double y) const;
 
        inline double note_height() const
                { return contents_height() / (double)contents_note_range(); }