diff options
author | Carl Hetherington <carl@carlh.net> | 2010-09-07 11:41:16 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-09-07 11:41:16 +0000 |
commit | 18b99c1f440c8ee25c350f415407b649938273da (patch) | |
tree | 720b2975fd688f4f799ccf706c0ba3f23e983f9e /gtk2_ardour/audio_region_view.h | |
parent | b25da08b468267771c83064c1cca8ebf5491e761 (diff) |
Lincoln's patch to tidy up region fade visuals. Fixes #3437.
git-svn-id: svn://localhost/ardour2/branches/3.0@7748 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/audio_region_view.h')
-rw-r--r-- | gtk2_ardour/audio_region_view.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gtk2_ardour/audio_region_view.h b/gtk2_ardour/audio_region_view.h index 82bc2a08ea..eec6a0b2d6 100644 --- a/gtk2_ardour/audio_region_view.h +++ b/gtk2_ardour/audio_region_view.h @@ -102,7 +102,10 @@ class AudioRegionView : public RegionView void reset_fade_in_shape_width (nframes_t); void reset_fade_out_shape_width (nframes_t); - + + void show_fade_line(nframes64_t pos); + void hide_fade_line(); + void set_fade_visibility (bool); void update_coverage_frames (LayerDisplay); @@ -139,6 +142,7 @@ 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; AudioRegionGainLine * gain_line; @@ -158,7 +162,7 @@ class AudioRegionView : public RegionView void region_resized (const PBD::PropertyChange&); void region_muted (); void region_scale_amplitude_changed (); - void region_renamed (); + void region_renamed (); void create_one_wave (uint32_t, bool); void manage_zero_line (); |