X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_streamview.h;h=78f000815787842a51d03877881a6125f59c6e25;hb=caae0546a76eb8c41701b92ba52ac0c6f199d79e;hp=582c72fc1ff0ca1b9a48bf2ca9a7b9d22656fd79;hpb=93c24e4433d69fe1de28d4d2ed2045aa7cb3596b;p=ardour.git diff --git a/gtk2_ardour/midi_streamview.h b/gtk2_ardour/midi_streamview.h index 582c72fc1f..78f0008157 100644 --- a/gtk2_ardour/midi_streamview.h +++ b/gtk2_ardour/midi_streamview.h @@ -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, bool, bool); - bool paste (ARDOUR::framepos_t pos, const Selection& selection, PasteContext& ctx, const int32_t& sub_num); + 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);