X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fautomation_pan_line.cc;h=04cfb0a31109bde247112be15b79cd8d400ae515;hb=965c295451916cf7f04d33fbf41ff2beb573439b;hp=d027544f73c262b7eb80bf5363511a7709733754;hpb=e493b2b7c4fbbbfc457f02babf9546289b430177;p=ardour.git diff --git a/gtk2_ardour/automation_pan_line.cc b/gtk2_ardour/automation_pan_line.cc index d027544f73..04cfb0a311 100644 --- a/gtk2_ardour/automation_pan_line.cc +++ b/gtk2_ardour/automation_pan_line.cc @@ -15,13 +15,13 @@ along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. - $Id$ */ #include #include +#include "canvas_impl.h" #include "public_editor.h" #include "automation_pan_line.h" #include "utils.h" @@ -30,12 +30,11 @@ #include using namespace ARDOUR; +using namespace PBD; -AutomationPanLine::AutomationPanLine (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), +AutomationPanLine::AutomationPanLine (const string & name, Session& s, TimeAxisView& tv, ArdourCanvas::Group& parent, Curve& c) + + : AutomationLine (name, tv, parent, c), session (s) { }