a) moved metering and meter falloff code into libardour
[ardour.git] / gtk2_ardour / automation_pan_line.cc
index f7414c9061c823422dd33c7bbafb9f4eb4b89e2b..7a264502affc3682f48abc2126eb65e3a6fafb22 100644 (file)
@@ -22,6 +22,7 @@
 
 #include <ardour/curve.h>
 
+#include "canvas_impl.h"
 #include "public_editor.h"
 #include "automation_pan_line.h"
 #include "utils.h"
 
 using namespace ARDOUR;
 
-AutomationPanLine::AutomationPanLine (string name, Session& s, TimeAxisView& tv, Gnome::Canvas::Item* parent,
-                                     Curve& c, 
-                                     gint (*point_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer),
-                                     gint (*line_callback)(Gnome::Canvas::Item*, GdkEvent*, gpointer))
-       : AutomationLine (name, tv, parent, c, point_callback, line_callback),
+AutomationPanLine::AutomationPanLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)
+
+       : AutomationLine (name, tv, parent, c),
          session (s)
 {
 }