diff options
author | Carl Hetherington <carl@carlh.net> | 2010-10-17 23:35:05 +0000 |
---|---|---|
committer | Carl Hetherington <carl@carlh.net> | 2010-10-17 23:35:05 +0000 |
commit | 156f5e4a4258437fa1136dcb78780828de961dbf (patch) | |
tree | cee266d47923e445ec979e335856c76e57a5bda8 /gtk2_ardour/crossfade_view.h | |
parent | aef355525f50af76a0b16e2a1ed2326910c071eb (diff) |
Only compute and render the visible portion of crossfades. Fixes #3498.
git-svn-id: svn://localhost/ardour2/branches/3.0@7901 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_view.h')
-rw-r--r-- | gtk2_ardour/crossfade_view.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk2_ardour/crossfade_view.h b/gtk2_ardour/crossfade_view.h index db1d33fdf8..6f77a3043c 100644 --- a/gtk2_ardour/crossfade_view.h +++ b/gtk2_ardour/crossfade_view.h @@ -59,6 +59,7 @@ struct CrossfadeView : public TimeAxisViewItem void fake_hide (); void hide (); void show (); + void horizontal_position_changed (); protected: void reset_width_dependent_items (double pixel_width); @@ -66,6 +67,7 @@ struct CrossfadeView : public TimeAxisViewItem private: bool _valid; bool _visible; + bool _all_in_view; ArdourCanvas::Line *fade_in; ArdourCanvas::Line *fade_out; |