fix reversion of keyboard focus from gain display editing widget in both mixer and...
[ardour.git] / gtk2_ardour / audio_region_view.cc
index 8f3c87b00dabc6e35b88c6019b0c6d136deb202f..7e51d28997b3f15b6d515261853af47c739884e4 100644 (file)
@@ -768,6 +768,19 @@ AudioRegionView::reset_fade_out_shape_width (framecnt_t width)
        }
 }
 
+framepos_t
+AudioRegionView::get_fade_in_shape_width ()
+{
+       return audio_region()->fade_in()->back()->when;
+}
+
+framepos_t
+AudioRegionView::get_fade_out_shape_width ()
+{
+       return audio_region()->fade_out()->back()->when;
+}
+
+
 void
 AudioRegionView::set_samples_per_unit (gdouble spu)
 {