X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_streamview.h;h=275b0f3b750f855886d528cc1bcca3225a649021;hb=78f749ef65e725eee82938df76f24c2b6811a519;hp=d058f0243451638314559facf7450c2d81a88c67;hpb=44564654fd825f198946d0f189421f9e569f68a6;p=ardour.git diff --git a/gtk2_ardour/automation_streamview.h b/gtk2_ardour/automation_streamview.h index d058f02434..275b0f3b75 100644 --- a/gtk2_ardour/automation_streamview.h +++ b/gtk2_ardour/automation_streamview.h @@ -40,7 +40,7 @@ class AutomationRegionView; class AutomationStreamView : public StreamView { - public: +public: AutomationStreamView (AutomationTimeAxisView& tv); ~AutomationStreamView (); @@ -60,13 +60,17 @@ class AutomationStreamView : public StreamView void clear (); - void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list &); + void get_selectables (ARDOUR::samplepos_t, ARDOUR::samplepos_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); - private: + bool paste (samplepos_t pos, + unsigned paste_count, + float times, + boost::shared_ptr list); + +private: void setup_rec_box (); RegionView* add_region_view_internal (boost::shared_ptr, bool wait_for_data, bool recording = false);