aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-07 22:30:41 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commitcaf68f14afbc81935933bf2fc9a451eef9f445d8 (patch)
tree36bbd3b63d61acbb4efffd52b0d3039acfe24d61
parentEvas: Move 3d to Efl.Canvas.Scene3d (diff)
downloadefl-caf68f14afbc81935933bf2fc9a451eef9f445d8.tar.gz
Examples: Update evas object eo example
-rw-r--r--src/examples/evas/evas-object-manipulation-eo.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/examples/evas/evas-object-manipulation-eo.c b/src/examples/evas/evas-object-manipulation-eo.c
index bcd825cb97..3cc125aefb 100644
--- a/src/examples/evas/evas-object-manipulation-eo.c
+++ b/src/examples/evas/evas-object-manipulation-eo.c
@@ -197,9 +197,9 @@ main(void)
* So it's possible to decrement refcount, and 'image' object
* will be deleted automatically by parent.*/
- evas_obj_image_filled_set(d.img, EINA_TRUE);
+ efl_gfx_fill_filled_set(d.img, EINA_TRUE);
efl_file_set(d.img, img_path, NULL);
- err = evas_obj_image_load_error_get(d.img);
+ err = efl_image_load_error_get(d.img);
if (err != EVAS_LOAD_ERROR_NONE)
{
@@ -218,9 +218,9 @@ main(void)
/* border on the image's clipper, here just to emphasize its position */
d.clipper_border = eo_add(EVAS_IMAGE_CLASS, d.canvas);
- evas_obj_image_filled_set(d.clipper_border, EINA_TRUE);
+ efl_gfx_fill_filled_set(d.clipper_border, EINA_TRUE);
efl_file_set(d.clipper_border, border_img_path, NULL);
- err = evas_obj_image_load_error_get(d.clipper_border);
+ err = efl_image_load_error_get(d.clipper_border);
if (err != EVAS_LOAD_ERROR_NONE)
{
@@ -228,8 +228,8 @@ main(void)
}
else
{
- evas_obj_image_border_set(d.clipper_border, 3, 3, 3, 3);
- evas_obj_image_border_center_fill_set(d.clipper_border, EVAS_BORDER_FILL_NONE);
+ efl_image_border_set(d.clipper_border, 3, 3, 3, 3);
+ efl_image_border_center_fill_set(d.clipper_border, EVAS_BORDER_FILL_NONE);
efl_gfx_position_set(d.clipper_border, (WIDTH / 4) -3, (HEIGHT / 4) - 3);
efl_gfx_size_set(d.clipper_border, (WIDTH / 2) + 6, (HEIGHT / 2) + 6);
efl_gfx_visible_set(d.clipper_border, EINA_TRUE);