From beb73edf553dadbbef7a02727c04f51294b0f4e6 Mon Sep 17 00:00:00 2001 From: Robin Gareus Date: Mon, 17 Jul 2017 20:12:33 +0200 Subject: Purify libcanvas, remove libardour dependency A canvas is just a canvas. Move WaveView into its own library. --- gtk2_ardour/crossfade_edit.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/crossfade_edit.h') diff --git a/gtk2_ardour/crossfade_edit.h b/gtk2_ardour/crossfade_edit.h index 911b9a7df6..f18b26ae8a 100644 --- a/gtk2_ardour/crossfade_edit.h +++ b/gtk2_ardour/crossfade_edit.h @@ -44,6 +44,9 @@ namespace ArdourCanvas { class Rectangle; class Line; class Polygon; +} + +namespace ArdourWaveview { class WaveView; } @@ -119,7 +122,7 @@ private: std::list points; ARDOUR::AutomationList normative_curve; /* 0 - 1.0, linear */ ARDOUR::AutomationList gain_curve; /* 0 - 2.0, gain mapping */ - std::vector waves; + std::vector waves; Half(); }; -- cgit v1.2.3