evas/vector: update the shape node if it's color has been changed. 96/43296/1
authorChunEon Park <chuneon.park@samsung.com>
Fri, 6 Feb 2015 15:43:54 +0000 (00:43 +0900)
committerSubhransu Mohanty <sub.mohanty@samsung.com>
Wed, 8 Jul 2015 02:13:37 +0000 (11:13 +0900)
Change-Id: Ibaa973975e1924eb1f0014973e6396e4cb727086

src/lib/evas/canvas/evas_vg_shape.c
src/lib/evas/canvas/evas_vg_shape.eo

index 9a388101a2d558e788fe4a995bd44535567b95f5..bda73837d946985a784a3c0794c47a832ea9273c 100644 (file)
@@ -258,6 +258,15 @@ _evas_vg_shape_efl_gfx_shape_stroke_join_get(Eo *obj EINA_UNUSED,
    return pd->stroke.join;
 }
 
+static void
+_evas_vg_shape_efl_gfx_base_color_set(Eo *obj,
+                                      Evas_VG_Shape_Data *pd,
+                                      int r, int g, int b, int a)
+{
+   eo_do_super(obj, MY_CLASS, efl_gfx_color_set(r, g, b, a));
+   eo_do_super(obj, MY_CLASS, evas_vg_node_changed());
+}
+
 static Eina_Bool
 _evas_vg_shape_render_pre(Eo *obj EINA_UNUSED,
                           Eina_Matrix3 *parent,
index ac5d997a09de5c370bededf00e64a179850945b1..fa81832a8a0ff1372a48cc5b2f2fd51c5700890e 100644 (file)
@@ -58,6 +58,7 @@ class Evas.VG_Shape (Evas.VG_Node, Efl.Gfx.Shape)
       Efl.Gfx.Shape.stroke_cap;
       Efl.Gfx.Shape.stroke_join;
       Efl.Gfx.Shape.path;
+      Efl.Gfx.Base.color.set;
       Evas.VG_Node.bound_get;
       Eo.Base.constructor;
       Eo.Base.destructor;