X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_streamview.h;h=67f720dc5ff8792a73505ccd5be589622d9e9fbd;hb=0e809dd1d5add0aa9ad9c931da812dad60faa7c6;hp=257908c9eaf5873813cdb864823b771223beab08;hpb=5e3ca4db5cc356385e520643cfd279f393db4b51;p=ardour.git diff --git a/gtk2_ardour/automation_streamview.h b/gtk2_ardour/automation_streamview.h index 257908c9ea..67f720dc5f 100644 --- a/gtk2_ardour/automation_streamview.h +++ b/gtk2_ardour/automation_streamview.h @@ -24,7 +24,6 @@ #include "ardour/location.h" #include "enums.h" -#include "simplerect.h" #include "streamview.h" #include "time_axis_view_item.h" #include "route_time_axis.h" @@ -61,11 +60,15 @@ class AutomationStreamView : public StreamView void clear (); - void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list &); + void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list &, bool within = false); void set_selected_points (PointSelection &); std::list > get_lines () const; - boost::shared_ptr paste_line (ARDOUR::framepos_t); + + bool paste (framepos_t pos, + unsigned paste_count, + float times, + boost::shared_ptr list); private: void setup_rec_box (); @@ -75,8 +78,6 @@ class AutomationStreamView : public StreamView void color_handler (); - boost::shared_ptr _controller; - AutomationTimeAxisView& _automation_view; /** automation state that should be applied when this view gets its first RegionView */ ARDOUR::AutoState _pending_automation_state;