summaryrefslogtreecommitdiff
path: root/src/lib/emotion
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-10-07 16:25:49 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-10-12 11:25:55 +0900
commit52969ccd9beec884c330736b15e2776d4faf5154 (patch)
treef176612250a66e7491eb314d33153b771f9ef46b /src/lib/emotion
parent39949b022d72c8a867f51ea2cadf04c0e8f1368e (diff)
evas: Remove method group_color_set
Widgets should simply override efl_gfx_color_set and call super all the way up to evas object. Legacy compatibility with call interceptors and early call abortion (eg. delete_me or obj->layer == NULL) are implemented with an internal call. See the previous commit introducing the API.
Diffstat (limited to 'src/lib/emotion')
-rw-r--r--src/lib/emotion/efl_canvas_video.eo2
-rw-r--r--src/lib/emotion/emotion_smart.c6
2 files changed, 6 insertions, 2 deletions
diff --git a/src/lib/emotion/efl_canvas_video.eo b/src/lib/emotion/efl_canvas_video.eo
index c6e797ae0c..64b920c1d0 100644
--- a/src/lib/emotion/efl_canvas_video.eo
+++ b/src/lib/emotion/efl_canvas_video.eo
@@ -51,13 +51,13 @@ class Efl.Canvas.Video (Efl.Canvas.Group, Efl.File, Efl.Player, Efl.Image, Efl.I
51 } 51 }
52 implements { 52 implements {
53 Efl.Object.constructor; 53 Efl.Object.constructor;
54 Efl.Gfx.color.set;
54 Efl.Canvas.Group.group_add; 55 Efl.Canvas.Group.group_add;
55 Efl.Canvas.Group.group_del; 56 Efl.Canvas.Group.group_del;
56 Efl.Canvas.Group.group_move; 57 Efl.Canvas.Group.group_move;
57 Efl.Canvas.Group.group_resize; 58 Efl.Canvas.Group.group_resize;
58 Efl.Canvas.Group.group_show; 59 Efl.Canvas.Group.group_show;
59 Efl.Canvas.Group.group_hide; 60 Efl.Canvas.Group.group_hide;
60 Efl.Canvas.Group.group_color.set;
61 Efl.Canvas.Group.group_clip.set; 61 Efl.Canvas.Group.group_clip.set;
62 Efl.Canvas.Group.group_clip_unset; 62 Efl.Canvas.Group.group_clip_unset;
63 Efl.File.file.set; 63 Efl.File.file.set;
diff --git a/src/lib/emotion/emotion_smart.c b/src/lib/emotion/emotion_smart.c
index 3ec92c5fa8..3a9ebdeec0 100644
--- a/src/lib/emotion/emotion_smart.c
+++ b/src/lib/emotion/emotion_smart.c
@@ -1966,8 +1966,12 @@ _efl_canvas_video_efl_canvas_group_group_hide(Evas_Object *obj EINA_UNUSED, Efl_
1966} 1966}
1967 1967
1968EOLIAN static void 1968EOLIAN static void
1969_efl_canvas_video_efl_canvas_group_group_color_set(Evas_Object *obj EINA_UNUSED, Efl_Canvas_Video_Data *sd, int r, int g, int b, int a) 1969_efl_canvas_video_efl_gfx_color_set(Evas_Object *obj, Efl_Canvas_Video_Data *sd, int r, int g, int b, int a)
1970{ 1970{
1971 if (_evas_object_intercept_call(obj, EVAS_OBJECT_INTERCEPT_CB_COLOR_SET, 0, r, g, b, a))
1972 return;
1973
1974 efl_gfx_color_set(efl_super(obj, MY_CLASS), r, g, b, a);
1971 evas_object_color_set(sd->obj, r, g, b, a); 1975 evas_object_color_set(sd->obj, r, g, b, a);
1972 evas_object_color_set(sd->crop.clipper, r, g, b, a); 1976 evas_object_color_set(sd->crop.clipper, r, g, b, a);
1973} 1977}