summaryrefslogtreecommitdiff
path: root/src/examples/evas/evas-object-manipulation-eo.c
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 /src/examples/evas/evas-object-manipulation-eo.c
parent7ddb73b1777ca6284a0e8a3ab82b16849f27dfcd (diff)
Examples: Update evas object eo example
Diffstat (limited to '')
-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)
197 * So it's possible to decrement refcount, and 'image' object 197 * So it's possible to decrement refcount, and 'image' object
198 * will be deleted automatically by parent.*/ 198 * will be deleted automatically by parent.*/
199 199
200 evas_obj_image_filled_set(d.img, EINA_TRUE); 200 efl_gfx_fill_filled_set(d.img, EINA_TRUE);
201 efl_file_set(d.img, img_path, NULL); 201 efl_file_set(d.img, img_path, NULL);
202 err = evas_obj_image_load_error_get(d.img); 202 err = efl_image_load_error_get(d.img);
203 203
204 if (err != EVAS_LOAD_ERROR_NONE) 204 if (err != EVAS_LOAD_ERROR_NONE)
205 { 205 {
@@ -218,9 +218,9 @@ main(void)
218 218
219 /* border on the image's clipper, here just to emphasize its position */ 219 /* border on the image's clipper, here just to emphasize its position */
220 d.clipper_border = eo_add(EVAS_IMAGE_CLASS, d.canvas); 220 d.clipper_border = eo_add(EVAS_IMAGE_CLASS, d.canvas);
221 evas_obj_image_filled_set(d.clipper_border, EINA_TRUE); 221 efl_gfx_fill_filled_set(d.clipper_border, EINA_TRUE);
222 efl_file_set(d.clipper_border, border_img_path, NULL); 222 efl_file_set(d.clipper_border, border_img_path, NULL);
223 err = evas_obj_image_load_error_get(d.clipper_border); 223 err = efl_image_load_error_get(d.clipper_border);
224 224
225 if (err != EVAS_LOAD_ERROR_NONE) 225 if (err != EVAS_LOAD_ERROR_NONE)
226 { 226 {
@@ -228,8 +228,8 @@ main(void)
228 } 228 }
229 else 229 else
230 { 230 {
231 evas_obj_image_border_set(d.clipper_border, 3, 3, 3, 3); 231 efl_image_border_set(d.clipper_border, 3, 3, 3, 3);
232 evas_obj_image_border_center_fill_set(d.clipper_border, EVAS_BORDER_FILL_NONE); 232 efl_image_border_center_fill_set(d.clipper_border, EVAS_BORDER_FILL_NONE);
233 efl_gfx_position_set(d.clipper_border, (WIDTH / 4) -3, (HEIGHT / 4) - 3); 233 efl_gfx_position_set(d.clipper_border, (WIDTH / 4) -3, (HEIGHT / 4) - 3);
234 efl_gfx_size_set(d.clipper_border, (WIDTH / 2) + 6, (HEIGHT / 2) + 6); 234 efl_gfx_size_set(d.clipper_border, (WIDTH / 2) + 6, (HEIGHT / 2) + 6);
235 efl_gfx_visible_set(d.clipper_border, EINA_TRUE); 235 efl_gfx_visible_set(d.clipper_border, EINA_TRUE);