summaryrefslogtreecommitdiff
path: root/gtk2_ardour/crossfade_view.h
diff options
context:
space:
mode:
authorCarl Hetherington <carl@carlh.net>2007-05-17 10:41:14 +0000
committerCarl Hetherington <carl@carlh.net>2007-05-17 10:41:14 +0000
commitef65fd251023378699c3ef3842fc55e93a92d04a (patch)
tree0b8c18d48355c9e5048a3ab6ea303b7268d9d1c5 /gtk2_ardour/crossfade_view.h
parent06fd14b0850c8d043ae568c3d1f34460218d879f (diff)
Add stacked lanes mode which displays regions on different layers at different positions in the view.
git-svn-id: svn://localhost/ardour2/trunk@1855 d708f5d6-7413-0410-9779-e7cbd77b26cf
Diffstat (limited to 'gtk2_ardour/crossfade_view.h')
-rw-r--r--gtk2_ardour/crossfade_view.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk2_ardour/crossfade_view.h b/gtk2_ardour/crossfade_view.h
index 556d8c80c5..02f3cd0df2 100644
--- a/gtk2_ardour/crossfade_view.h
+++ b/gtk2_ardour/crossfade_view.h
@@ -46,7 +46,7 @@ struct CrossfadeView : public TimeAxisViewItem
AudioRegionView& left_view; // and these too
AudioRegionView& right_view;
- void set_height (double);
+ void set_y_position_and_height (double, double);
bool valid() const { return _valid; }
bool visible() const { return _visible; }
@@ -68,6 +68,8 @@ struct CrossfadeView : public TimeAxisViewItem
bool _visible;
double spu;
+ double _y_position;
+ double _height;
ArdourCanvas::Item *overlap_rect;
ArdourCanvas::Line *fade_in;