summaryrefslogtreecommitdiff
path: root/gtk2_ardour/audio_region_view.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2012-05-01 03:22:04 +0000
committerPaul Davis <paul@linuxaudiosystems.com>2012-05-01 03:22:04 +0000
commita47ec8ba590d1fe663a64a50b02b1f6b61fd5743 (patch)
tree50889cd8a5b0c6c9e09ddea7b932cf6d761a9b09 /gtk2_ardour/audio_region_view.h
parent01659c1d73ea30de8d0eb455b0182122798b578b (diff)
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
Diffstat (limited to 'gtk2_ardour/audio_region_view.h')
-rw-r--r--gtk2_ardour/audio_region_view.h11
1 files changed, 11 insertions, 0 deletions
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<AudioRegionGainLine> 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 ();