From a47ec8ba590d1fe663a64a50b02b1f6b61fd5743 Mon Sep 17 00:00:00 2001 From: Paul Davis Date: Tue, 1 May 2012 03:22:04 +0000 Subject: mostly backup-oriented commit to preserve very initial pass at rendering fades-as-xfades in a more useful way. quite a bit of work to do here git-svn-id: svn://localhost/ardour2/branches/3.0@12129 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/audio_region_view.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'gtk2_ardour/audio_region_view.h') diff --git a/gtk2_ardour/audio_region_view.h b/gtk2_ardour/audio_region_view.h index 9dc7e507a1..53070c85d3 100644 --- a/gtk2_ardour/audio_region_view.h +++ b/gtk2_ardour/audio_region_view.h @@ -142,6 +142,14 @@ class AudioRegionView : public RegionView ArdourCanvas::SimpleRect* fade_out_handle; ///< fade out handle, or 0 ArdourCanvas::SimpleLine* fade_position_line; + ArdourCanvas::Line *start_xfade_in; + ArdourCanvas::Line *start_xfade_out; + ArdourCanvas::SimpleRect* start_xfade_rect; + + ArdourCanvas::Line *end_xfade_in; + ArdourCanvas::Line *end_xfade_out; + ArdourCanvas::SimpleRect* end_xfade_rect; + boost::shared_ptr gain_line; double _amplitude_above_axis; @@ -179,6 +187,9 @@ class AudioRegionView : public RegionView void transients_changed(); + void redraw_start_xfade (); + void redraw_end_xfade (); + private: void setup_fade_handle_positions (); -- cgit v1.2.3