X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fregion_gain_line.h;h=018ed3d936800bbfb98a737181e8983a4f535440;hb=e35ce4c002e0dfb4db76a5108e0028719f469734;hp=1eae91bc272ced52c75b05cf5cd97dc316d0f89b;hpb=e2f0c5f91e2579c41d8efc9495b6ebac31a61ba3;p=ardour.git diff --git a/gtk2_ardour/region_gain_line.h b/gtk2_ardour/region_gain_line.h index 1eae91bc27..018ed3d936 100644 --- a/gtk2_ardour/region_gain_line.h +++ b/gtk2_ardour/region_gain_line.h @@ -35,14 +35,17 @@ class AudioRegionView; class AudioRegionGainLine : public AutomationLine { public: - AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Group& parent, boost::shared_ptr); + AudioRegionGainLine (const std::string & name, AudioRegionView&, ArdourCanvas::Container& parent, boost::shared_ptr); void start_drag_single (ControlPoint*, double, float); void end_drag (bool with_push, uint32_t final_index); void remove_point (ControlPoint&); + AudioRegionView& region_view () { return rv; } private: + PBD::ScopedConnection _region_changed_connection; + void region_changed (const PBD::PropertyChange& what_changed); AudioRegionView& rv; };