X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fmidi_time_axis.h;h=fa6102c3609ff114d794aebd8bd29028207119a3;hb=b6c3e5537269e53bb145300e7724e8b89dfb74d6;hp=fb95ae94fb3bbaf35c446e968c69ab8d007ab23e;hpb=f2495d98080db52af2bb961f03e31e858be6d4f9;p=ardour.git diff --git a/gtk2_ardour/midi_time_axis.h b/gtk2_ardour/midi_time_axis.h index fb95ae94fb..fa6102c360 100644 --- a/gtk2_ardour/midi_time_axis.h +++ b/gtk2_ardour/midi_time_axis.h @@ -82,13 +82,13 @@ public: void set_height (uint32_t, TrackHeightMode m = OnlySelf); - boost::shared_ptr add_region (ARDOUR::framepos_t, ARDOUR::framecnt_t, bool); + boost::shared_ptr add_region (ARDOUR::framepos_t, ARDOUR::framecnt_t, bool, const int32_t sub_num); void show_all_automation (bool apply_to_selection = false); void show_existing_automation (bool apply_to_selection = false); void create_automation_child (const Evoral::Parameter& param, bool show); - bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx); + bool paste (ARDOUR::framepos_t, const Selection&, PasteContext& ctx, const int32_t sub_num); ARDOUR::NoteMode note_mode() const { return _note_mode; } ARDOUR::ColorMode color_mode() const { return _color_mode; } @@ -133,6 +133,8 @@ private: void note_range_changed (); void contents_height_changed (); + void update_control_names (); + bool _ignore_signals; MidiScroomer* _range_scroomer; PianoRollHeader* _piano_roll_header;