rimmed pushed a commit to branch master. http://git.enlightenment.org/tools/eflete.git/commit/?id=33ab8be72723de2fc72c6636e8219256c2f0e9ec
commit 33ab8be72723de2fc72c6636e8219256c2f0e9ec Author: Vitalii Vorobiov <[email protected]> Date: Fri Aug 26 18:04:57 2016 +0300 groupview_calc: add dead proxy object to hide image part from edje_object on bg since image part doesnt has proxy object to hide original @fix --- src/bin/ui/workspace/groupview_calc.c | 8 +++++++- src/bin/ui/workspace/groupview_private.h | 2 +- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/src/bin/ui/workspace/groupview_calc.c b/src/bin/ui/workspace/groupview_calc.c index 6f2c555..07ed192 100644 --- a/src/bin/ui/workspace/groupview_calc.c +++ b/src/bin/ui/workspace/groupview_calc.c @@ -647,6 +647,7 @@ _part_draw_add(Groupview_Smart_Data *sd, Part *part) break; case EDJE_PART_TYPE_IMAGE: PART_VIEW_PROXY_SET() + gp->proxy_dead_part = evas_object_image_filled_add(evas_object_evas_get(sd->obj)); elm_object_signal_emit(gp->layout, "border,text", "eflete"); break; case EDJE_PART_TYPE_PROXY: // it part like image @@ -835,6 +836,11 @@ _image_param_update(Groupview_Part *gp, Evas_Object *edit_obj) PART_STATE_GET(edit_obj, gp->part->name) + evas_object_image_source_set(gp->proxy_dead_part, NULL); + evas_object_image_source_set(gp->proxy_dead_part, + (Evas_Object *)edje_object_part_object_get(edit_obj, gp->part->name)); + evas_object_image_source_visible_set(gp->proxy_dead_part, false); + image_normal = edje_edit_state_image_get(edit_obj, gp->part->name, state, value); if (!image_normal) return; if (edje_edit_image_compression_type_get(edit_obj, image_normal) == EDJE_EDIT_IMAGE_COMP_USER) @@ -1010,7 +1016,7 @@ _common_param_update(Groupview_Part *gp, Evas_Object *edit_obj) evas_object_image_source_set(gp->proxy_part, NULL); evas_object_image_source_set(gp->proxy_part, (Evas_Object *)edje_object_part_object_get(edit_obj, gp->part->name)); - evas_object_image_source_visible_set (gp->proxy_part, false); + evas_object_image_source_visible_set(gp->proxy_part, false); } static void diff --git a/src/bin/ui/workspace/groupview_private.h b/src/bin/ui/workspace/groupview_private.h index 606f833..198fa0a 100644 --- a/src/bin/ui/workspace/groupview_private.h +++ b/src/bin/ui/workspace/groupview_private.h @@ -89,7 +89,7 @@ struct _Groupview_Part Evas_Object *draw; /**< The evas primitive to be draw in groupview. The valid evas object types: image, rectangle, text and textblock.*/ - Evas_Object *proxy_part; + Evas_Object *proxy_part, *proxy_dead_part; Evas_Object *layout; Evas_Object *container; /**< Used for box/table parts */ Eina_List *items; /**< The items, for TABLE, BOX part types */ --
