elm_transit: Apply evas_map_util_object_move_sync_set() to transit

Summary:
Apply evas_map_util_object_move_sync_set() to transit to keep map transformation after object move

please update efl library because evas_map_util_object_move_sync_set()'s been newly added.

Reviewers: Hermet, cedric

Differential Revision: https://phab.enlightenment.org/D1685
This commit is contained in:
Jaehyun Cho 2014-11-28 13:33:09 +09:00 committed by ChunEon Park
parent d3fe5eaf1a
commit f689b5e05f
1 changed files with 10 additions and 0 deletions

View File

@ -1084,6 +1084,8 @@ _transit_effect_zoom_op(Elm_Transit_Effect *effect, Elm_Transit *transit , doubl
map = evas_map_new(4);
if (!map) return;
evas_map_util_object_move_sync_set(map, EINA_TRUE);
EINA_LIST_FOREACH(transit->objs, elist, obj)
{
evas_object_geometry_get(obj, &x, &y, &w, &h);
@ -1176,6 +1178,8 @@ _transit_effect_flip_op(Elm_Transit_Effect *effect, Elm_Transit *transit, double
map = evas_map_new(4);
if (!map) return;
evas_map_util_object_move_sync_set(map, EINA_TRUE);
if (flip->cw) degree = (float)(progress * 180);
else degree = (float)(progress * -180);
@ -1473,6 +1477,8 @@ _transit_effect_resizable_flip_op(Elm_Transit_Effect *effect, Elm_Transit *trans
map = evas_map_new(4);
if (!map) return;
evas_map_util_object_move_sync_set(map, EINA_TRUE);
if (resizable_flip->cw) degree = (float)(progress * 180);
else degree = (float)(progress * -180);
@ -1763,6 +1769,8 @@ _transit_effect_wipe_op(Elm_Transit_Effect *effect, Elm_Transit *transit, double
map = evas_map_new(4);
if (!map) return;
evas_map_util_object_move_sync_set(map, EINA_TRUE);
EINA_LIST_FOREACH(transit->objs, elist, obj)
{
type = evas_object_type_get(obj);
@ -2288,6 +2296,8 @@ _transit_effect_rotation_op(Elm_Transit_Effect *effect, Elm_Transit *transit, do
map = evas_map_new(4);
if (!map) return;
evas_map_util_object_move_sync_set(map, EINA_TRUE);
EINA_LIST_FOREACH(transit->objs, elist, obj)
{
evas_map_util_points_populate_from_object_full(map, obj, 0);