Fix NSGLView invalidation
[ardour.git] / libs / canvas / canvas / xfade_curve.h
index 60c1c45e2342f94822f2b49a54411e61a7a5f50d..50ce96e769f97572e96718899d2bf69ca22a5a55 100644 (file)
@@ -41,20 +41,20 @@ public:
 
        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;
 
        void set_points_per_segment (uint32_t n);
        void set_inout (Points const & in, Points const & out);
 
-       void set_outline_color (Color c) {
+       void set_outline_color (Gtkmm2ext::Color c) {
                begin_visual_change ();
                _outline_color = c;
                end_visual_change ();
        };
 
-       void set_fill_color (Color c) {
+       void set_fill_color (Gtkmm2ext::Color c) {
                begin_visual_change ();
                _fill_color = c;
                end_visual_change ();
@@ -76,12 +76,12 @@ private:
        CanvasCurve _in;
        CanvasCurve _out;
 
-       XFadePosition _xfadeposition;
-       Color _outline_color;
-       Color _fill_color;
+       XFadePosition    _xfadeposition;
+       Gtkmm2ext::Color _outline_color;
+       Gtkmm2ext::Color _fill_color;
 
        bool show_background_fade;
-    
+
        void interpolate ();
 };