From d7bd270aa10b3a8669223debe4c1b572ae876e2b Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 27 Jun 2007 15:51:50 +0000 Subject: Big ol' automation refactor. Things with automation parameters now inherit from Automatable, which handles serialization, fetching/adding/removing parameters, etc. Use AutomationList everywhere instead of Curve, make Curve a member of AutomationList instead (towards other types of "Curve" needed for CC, among other things). Work towards MIDI CC sending "automation" tracks. git-svn-id: svn://localhost/ardour2/trunk@2069 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/crossfade_edit.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'gtk2_ardour/crossfade_edit.h') diff --git a/gtk2_ardour/crossfade_edit.h b/gtk2_ardour/crossfade_edit.h index 715aa1a360..e9f2dcf762 100644 --- a/gtk2_ardour/crossfade_edit.h +++ b/gtk2_ardour/crossfade_edit.h @@ -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 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 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; -- cgit v1.2.3