Big ol' automation refactor.
[ardour.git] / gtk2_ardour / crossfade_edit.h
index 715aa1a3607da3f6fe3765d9dd0aa66c4d4af110..e9f2dcf7622c0bdad10e8d65f130f1623387e88f 100644 (file)
@@ -33,7 +33,7 @@
 namespace ARDOUR
 {
        class Session;
-       class Curve;
+       class AutomationList;
        class Crossfade;
 }
 
@@ -105,8 +105,8 @@ class CrossfadeEditor : public ArdourDialog
            ArdourCanvas::Line*     line;
            ArdourCanvas::Polygon*  shading;
            list<Point*>            points;
-           ARDOUR::Curve           normative_curve; /* 0 - 1.0, linear */
-           ARDOUR::Curve           gain_curve;      /* 0 - 2.0, gain mapping */
+           ARDOUR::AutomationList  normative_curve; /* 0 - 1.0, linear */
+           ARDOUR::AutomationList  gain_curve;      /* 0 - 2.0, gain mapping */
            vector<ArdourCanvas::WaveView*>  waves;
            
            Half();
@@ -176,7 +176,7 @@ class CrossfadeEditor : public ArdourDialog
        double x_coordinate (double& xfract) const;
        double y_coordinate (double& yfract) const;
     
-       void set (const ARDOUR::Curve& alist, WhichFade);
+       void set (const ARDOUR::AutomationList& alist, WhichFade);
 
        sigc::connection peaks_ready_connection;