X-Git-Url: https://main.carlh.net/gitweb/?a=blobdiff_plain;f=gtk2_ardour%2Fgain_automation_time_axis.h;h=ea9388ccd3366c661328f7f16926a28cc89f6bdd;hb=aa60114843f4990ef93ba83974501495ddda358b;hp=f82822a04be5c7ad0b2e56f6293a8e11b7833b71;hpb=14d43ca9fe28a8309b4a52fa85e2b0c64a92248b;p=ardour.git diff --git a/gtk2_ardour/gain_automation_time_axis.h b/gtk2_ardour/gain_automation_time_axis.h index f82822a04b..ea9388ccd3 100644 --- a/gtk2_ardour/gain_automation_time_axis.h +++ b/gtk2_ardour/gain_automation_time_axis.h @@ -1,6 +1,7 @@ #ifndef __ardour_gtk_gain_automation_time_axis_h__ #define __ardour_gtk_gain_automation_time_axis_h__ +#include "canvas.h" #include "automation_time_axis.h" namespace ARDOUR { @@ -12,16 +13,16 @@ class GainAutomationTimeAxisView : public AutomationTimeAxisView { public: GainAutomationTimeAxisView (ARDOUR::Session&, - ARDOUR::Route&, + boost::shared_ptr, PublicEditor&, TimeAxisView& parent_axis, - Gtk::Widget* parent, - std::string name, + ArdourCanvas::Canvas& canvas, + const string & name, ARDOUR::Curve&); ~GainAutomationTimeAxisView(); - void add_automation_event (GnomeCanvasItem *item, GdkEvent *event, jack_nframes_t, double); + void add_automation_event (ArdourCanvas::Item *item, GdkEvent *event, nframes_t, double); private: ARDOUR::Curve& curve;