From 5f1f7cfa6413ed343fd2a9fd67e9dafdca79be24 Mon Sep 17 00:00:00 2001 From: raster Date: Fri, 14 Oct 2011 07:30:52 +0000 Subject: [PATCH] use ecore-evas and eevas image calls consistently for inlined wins git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@64070 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33 --- src/lib/elm_win.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c index aa00bd0..3bbb54e 100644 --- a/src/lib/elm_win.c +++ b/src/lib/elm_win.c @@ -1769,6 +1769,7 @@ elm_win_alpha_set(Evas_Object *obj, Eina_Bool alpha) else if (win->img_obj) { evas_object_image_alpha_set(win->img_obj, alpha); + ecore_evas_alpha_set(win->ee, alpha); } else { @@ -1799,6 +1800,13 @@ elm_win_alpha_get(const Evas_Object *obj) ELM_CHECK_WIDTYPE(obj, widtype) EINA_FALSE; win = elm_widget_data_get(obj); if (!win) return EINA_FALSE; + if (win->frame_obj) + { + } + else if (win->img_obj) + { + return evas_object_image_alpha_get(win->img_obj); + } return ecore_evas_alpha_get(win->ee); } -- 2.7.4