X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_streamview.h;h=d058f0243451638314559facf7450c2d81a88c67;hb=ecb92f474f8f39e04f2aee02dabab7fa03af6c19;hp=a3235f7b0eddde563bafe5103c695aa0524ca44b;hpb=2881a495ef8aa020a86ee761cac7a3ba74bcfc58;p=ardour.git diff --git a/gtk2_ardour/automation_streamview.h b/gtk2_ardour/automation_streamview.h index a3235f7b0e..d058f02434 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" @@ -57,6 +56,15 @@ class AutomationStreamView : public StreamView bool has_automation () const; void set_interpolation (ARDOUR::AutomationList::InterpolationStyle); + ARDOUR::AutomationList::InterpolationStyle interpolation () const; + + void clear (); + + void get_selectables (ARDOUR::framepos_t, ARDOUR::framepos_t, double, double, std::list &); + void set_selected_points (PointSelection &); + + std::list > get_lines () const; + boost::shared_ptr paste_line (ARDOUR::framepos_t); private: void setup_rec_box (); @@ -66,9 +74,9 @@ 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; }; #endif /* __ardour_automation_streamview_h__ */