Use rectangle intersection for MIDI note rect select.
[ardour.git] / gtk2_ardour / audio_region_view.h
index 5e3240670d7a6b6ce6a4766df143c43af41ce9f1..10159d0cfbf6970716051d7952ebf3ae803d033f 100644 (file)
@@ -91,11 +91,11 @@ class AudioRegionView : public RegionView
 
        GhostRegion* add_ghost (TimeAxisView&);
 
-       void reset_fade_in_shape_width (framecnt_t);
-       void reset_fade_out_shape_width (framecnt_t);
+       void reset_fade_in_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, framecnt_t);
+       void reset_fade_out_shape_width (boost::shared_ptr<ARDOUR::AudioRegion> ar, framecnt_t);
 
-       void show_fade_line(framepos_t pos);
-       void hide_fade_line();
+       framepos_t get_fade_in_shape_width ();
+       framepos_t get_fade_out_shape_width ();
 
        void set_fade_visibility (bool);
        void update_coverage_frames (LayerDisplay);
@@ -156,7 +156,6 @@ class AudioRegionView : public RegionView
        ArdourCanvas::Polygon*           fade_out_shape;
        ArdourCanvas::SimpleRect*        fade_in_handle; ///< fade in handle, or 0
        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;