probe buffersize if jackd is already running.
[ardour.git] / libs / canvas / canvas / xfade_curve.h
index a1151817e2028534730ec2ac9b758d0748dd7e38..60c1c45e2342f94822f2b49a54411e61a7a5f50d 100644 (file)
@@ -34,11 +34,14 @@ public:
                End,
        };
 
-       XFadeCurve (Group *);
-       XFadeCurve (Group *, XFadePosition);
+       XFadeCurve (Canvas *);
+       XFadeCurve (Canvas *, XFadePosition);
+       XFadeCurve (Item*);
+       XFadeCurve (Item*, XFadePosition);
 
        void set_fade_position (XFadePosition xfp) { _xfadeposition = xfp; }
-       
+       void set_show_background_fade (bool show) { show_background_fade = show; }
+    
        void compute_bounding_box () const;
        void render (Rect const & area, Cairo::RefPtr<Cairo::Context>) const;
 
@@ -77,6 +80,8 @@ private:
        Color _outline_color;
        Color _fill_color;
 
+       bool show_background_fade;
+    
        void interpolate ();
 };