amend be62d335ee
[ardour.git] / gtk2_ardour / midi_streamview.h
index 9be3b34d9ce1b779e7d034630e4852217f047768..78f000815787842a51d03877881a6125f59c6e25 100644 (file)
@@ -77,6 +77,8 @@ class MidiStreamView : public StreamView
 
        void update_note_range(uint8_t note_num);
 
+       void set_layer_display (LayerDisplay);
+//     bool can_change_layer_display() const { return false; }  //revert this change for now.  Although stacked view is weirdly implemented wrt the "scroomer", it is still necessary to be able to manage layered regions.
        void redisplay_track ();
 
        inline double contents_height() const
@@ -98,7 +100,7 @@ class MidiStreamView : public StreamView
 
        RegionView* create_region_view (boost::shared_ptr<ARDOUR::Region>, bool, bool);
 
-       bool paste (ARDOUR::framepos_t pos, const Selection& selection, PasteContext& ctx);
+       bool paste (ARDOUR::framepos_t pos, const Selection& selection, PasteContext& ctx, const int32_t sub_num);
 
        void apply_note_range(uint8_t lowest, uint8_t highest, bool to_region_views);