Use the filled_set instaed of fill_set
authorSung-jae Park <nicesj.park@samsung.com>
Thu, 20 Jun 2013 01:09:49 +0000 (10:09 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Thu, 20 Jun 2013 01:09:49 +0000 (10:09 +0900)
[model] Redwood
[binary_type] AP
[customer] Docomo/Orange/Open
[issue#] N/A
[problem] Image is repeated when the filled_set is not enabled. (Facebook team requests)
[cause] Internally, evas tries to repeat the image on the canvas if it has no filled option.
[solution] use the filled_set instead of fill_set when it tries to load an image using partial loading.
[team] HomeTF
[request] N/A
[horizontal_expansion] N/A

Change-Id: Ied350419c8543f69377dfdbbce700564f812572a

packaging/liblivebox-edje.spec
src/script_port.c

index 7480574..3a6b98d 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox-edje
 Summary: EDJE Script loader for the data provider master
-Version: 0.5.8
+Version: 0.5.9
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
index bd8d71b..25d500e 100644 (file)
@@ -697,7 +697,8 @@ PUBLIC int script_update_image(void *_h, Evas *e, const char *id, const char *pa
                        if (evas_object_image_region_support_get(img)) {
                                evas_object_image_load_region_set(img, (w - part_w) / 2, (h - part_h) / 2, part_w, part_h);
                                evas_object_image_load_size_set(img, part_w, part_h);
-                               evas_object_image_fill_set(img, 0, 0, part_w, part_h);
+                               evas_object_image_filled_set(img, EINA_TRUE);
+                               //evas_object_image_fill_set(img, 0, 0, part_w, part_h);
                                DbgPrint("Size: %dx%d (region: %dx%d - %dx%d)\n", w, h, (w - part_w) / 2, (h - part_h) / 2, part_w, part_h);
                        } else {
                                Ecore_Evas *ee;