Remove always-true should_show_selection code.
[ardour.git] / gtk2_ardour / midi_region_view.h
index 42b544b97da2872e2364dc1c677885ca223eee37..edf418afb418b7ccd757914f9e3785b60c3600ec 100644 (file)
@@ -191,6 +191,7 @@ class MidiRegionView : public RegionView
        void   delete_selection();
        void   delete_note (boost::shared_ptr<NoteType>);
        size_t selection_size() { return _selection.size(); }
+        void   select_all_notes ();
 
        void move_selection(double dx, double dy, double cumulative_dy);
        void note_dropped (ArdourCanvas::CanvasNoteEvent* ev, ARDOUR::frameoffset_t, int8_t d_note);
@@ -274,6 +275,9 @@ class MidiRegionView : public RegionView
        void selection_as_notelist (Notes& selected, bool allow_all_if_none_selected = false);
 
        void enable_display (bool);
+       
+       void set_channel_selector_scoped_note(ArdourCanvas::CanvasNoteEvent* note){ _channel_selection_scoped_note = note; }
+       ArdourCanvas::CanvasNoteEvent* channel_selector_scoped_note(){  return _channel_selection_scoped_note; }
 
        void trim_front_starting ();
        void trim_front_ending ();
@@ -369,6 +373,8 @@ class MidiRegionView : public RegionView
         ArdourCanvas::SimpleRect*            _step_edit_cursor;
         Evoral::MusicalTime                  _step_edit_cursor_width;
         Evoral::MusicalTime                  _step_edit_cursor_position;
+       ArdourCanvas::CanvasNoteEvent*       _channel_selection_scoped_note;
+       
 
        /** A group used to temporarily reparent _note_group to during start trims, so
         *  that the notes don't move with the parent region view.