From 0796ccfb652dd31ea1d94526e0e6d92863a972b0 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Sat, 21 Jun 2014 11:44:22 -0400 Subject: use newly factored canvas in gtk2_ardour --- gtk2_ardour/automation_line.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'gtk2_ardour/automation_line.h') diff --git a/gtk2_ardour/automation_line.h b/gtk2_ardour/automation_line.h index 67e8fbc52b..5695527002 100644 --- a/gtk2_ardour/automation_line.h +++ b/gtk2_ardour/automation_line.h @@ -37,7 +37,7 @@ #include "ardour/types.h" #include "canvas/types.h" -#include "canvas/group.h" +#include "canvas/layout.h" #include "canvas/poly_line.h" class AutomationLine; @@ -60,7 +60,7 @@ public: SelectedControlPoints = 0x4 }; - AutomationLine (const std::string& name, TimeAxisView&, ArdourCanvas::Group&, + AutomationLine (const std::string& name, TimeAxisView&, ArdourCanvas::Item&, boost::shared_ptr, Evoral::TimeConverter* converter = 0); virtual ~AutomationLine (); @@ -105,7 +105,7 @@ public: TimeAxisView& trackview; - ArdourCanvas::Group& canvas_group() const { return *group; } + ArdourCanvas::Layout& canvas_group() const { return *group; } ArdourCanvas::Item& parent_group() const { return _parent_group; } ArdourCanvas::Item& grab_item() const { return *line; } @@ -173,8 +173,8 @@ protected: /** true if we did a push at any point during the current drag */ bool did_push; - ArdourCanvas::Group& _parent_group; - ArdourCanvas::Group* group; + ArdourCanvas::Item& _parent_group; + ArdourCanvas::Layout* group; ArdourCanvas::PolyLine* line; /* line */ ArdourCanvas::Points line_points; /* coordinates for canvas line */ std::vector control_points; /* visible control points */ -- cgit v1.2.3