X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_streamview.h;h=275b0f3b750f855886d528cc1bcca3225a649021;hb=dfef8b7f6257364053e13ab4d5e317b703abd0af;hp=335d63ca7abf1c2a27b1408be50fe9ab3705f6a1;hpb=593b421180290f46f39efcb21ed8192b624bbc73;p=ardour.git diff --git a/gtk2_ardour/automation_streamview.h b/gtk2_ardour/automation_streamview.h index 335d63ca7a..275b0f3b75 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" @@ -41,7 +40,7 @@ class AutomationRegionView; class AutomationStreamView : public StreamView { - public: +public: AutomationStreamView (AutomationTimeAxisView& tv); ~AutomationStreamView (); @@ -59,7 +58,19 @@ class AutomationStreamView : public StreamView void set_interpolation (ARDOUR::AutomationList::InterpolationStyle); ARDOUR::AutomationList::InterpolationStyle interpolation () const; - private: + void clear (); + + 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; + + 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); @@ -67,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;