Extend time canvas to use available space to the rigt (and line up nicely).
[ardour.git] / gtk2_ardour / crossfade_view.h
index 730813f78cfb099633ecf1378eca463a30132afb..02f3cd0df20b2f14da91c26d987935d8eb9a6792 100644 (file)
@@ -15,7 +15,6 @@
     along with this program; if not, write to the Free Software
     Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 
-    $Id$
 */
 
 #ifndef __gtk_ardour_crossfade_view_h__
@@ -47,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; }
@@ -69,6 +68,8 @@ struct CrossfadeView : public TimeAxisViewItem
     bool _visible;
 
     double spu;
+    double _y_position;
+    double _height;
 
     ArdourCanvas::Item *overlap_rect;
     ArdourCanvas::Line *fade_in;