add sampo's synthesize_sources perl script to tools; add scroll-playhead-{forward...
[ardour.git] / gtk2_ardour / automation_gain_line.cc
index 15da1a2a8404efc125cc2a9374b56531fbdb6a5a..74e4f64e3c81ce00d8f378fe41a04af7bee4377d 100644 (file)
 
 using namespace std;
 using namespace ARDOUR;
+using namespace PBD;
 
-AutomationGainLine::AutomationGainLine (string name, Session& s, TimeAxisView& tv, GtkCanvasItem* parent,
-                                       Curve& c, 
-                                       gint (*point_callback)(GtkCanvasItem*, GdkEvent*, gpointer),
-                                       gint (*line_callback)(GtkCanvasItem*, GdkEvent*, gpointer))
-       : AutomationLine (name, tv, parent, c, point_callback, line_callback),
+AutomationGainLine::AutomationGainLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c)
+
+       : AutomationLine (name, tv, parent, c),
          session (s)
 {
        set_verbose_cursor_uses_gain_mapping (true);