From b1775149307a157444c516693ad6b98a404ef1b2 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 29 Dec 2011 22:14:15 +0000 Subject: Revert internals of the last layering-related commit, and go back a slightly-cleaned-up version of how it was before. Remove all layering modes; only option now is add-is-higher. Move-add-higher could easily be re-added if anyone uses it. git-svn-id: svn://localhost/ardour2/branches/3.0@11111 d708f5d6-7413-0410-9779-e7cbd77b26cf --- gtk2_ardour/crossfade_view.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gtk2_ardour/crossfade_view.h') diff --git a/gtk2_ardour/crossfade_view.h b/gtk2_ardour/crossfade_view.h index d984f5d295..af33cb7296 100644 --- a/gtk2_ardour/crossfade_view.h +++ b/gtk2_ardour/crossfade_view.h @@ -48,7 +48,7 @@ public: AudioRegionView& left_view; // and these too AudioRegionView& right_view; - void set_height (double); + void set_heights (double, double); bool valid() const { return _valid; } bool visible() const { return _visible; } @@ -68,6 +68,7 @@ private: bool _valid; bool _visible; bool _all_in_view; + double _child_height; ArdourCanvas::Line *fade_in; ArdourCanvas::Line *fade_out; -- cgit v1.2.3