From: ChunEon Park Date: Thu, 21 Oct 2010 01:13:37 +0000 (+0900) Subject: [elm_transit.c] fixed some effects bugs. X-Git-Tag: sbs-working-i386~138^2~6^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9e01a257a9a57fa9defa3cb32d7e16fd0ab61ef3;p=framework%2Fuifw%2Felementary.git [elm_transit.c] fixed some effects bugs. --- diff --git a/src/lib/elm_transit.c b/src/lib/elm_transit.c index f37fae7..45db5c9 100644 --- a/src/lib/elm_transit.c +++ b/src/lib/elm_transit.c @@ -1040,7 +1040,7 @@ _set_image_uv_by_axis_y(Evas_Map *map, Elm_Fx_ResizableFlip *flip, evas_map_point_image_uv_set(map, 1, flip->from_size.x, 0); evas_map_point_image_uv_set(map, 2, flip->from_size.x, flip->from_size.y); - evas_map_point_image_uv_set(map, 3, 0, flip->to_size.y); + evas_map_point_image_uv_set(map, 3, 0, flip->from_size.y); } } @@ -1259,7 +1259,7 @@ _elm_fx_wipe_hide(Evas_Map * map, Elm_Fx_Wipe_Dir dir, float x, float y, { case ELM_FX_WIPE_DIR_UP: w2 = (x + w); - h2 = h - (h * frame); + h2 = y + h - (h * frame); evas_map_point_image_uv_set(map, 0, 0, 0); evas_map_point_image_uv_set(map, 1, w, 0); evas_map_point_image_uv_set(map, 2, w, h2); @@ -1304,6 +1304,7 @@ _elm_fx_wipe_hide(Evas_Map * map, Elm_Fx_Wipe_Dir dir, float x, float y, evas_map_point_coord_set(map, 1, w2, y + h2, 0); evas_map_point_coord_set(map, 2, w2, y + h, 0); evas_map_point_coord_set(map, 3, x, y + h, 0); + fprintf(stderr, "%f %f %f %f\n", x, y, w, h); break; default: break;