aboutsummaryrefslogtreecommitdiffstats
path: root/src/examples
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-02-27 13:17:37 -0500
committerMike Blumenkrantz <zmike@samsung.com>2019-02-27 13:17:37 -0500
commita5e183ad5d1c4495c2149341b4a6e7c086b26e00 (patch)
treea685b7a95590e8f4167caee9a13e312cdd1c3f6e /src/examples
parentefl.file_save: rework save flags (diff)
downloadefl-a5e183ad5d1c4495c2149341b4a6e7c086b26e00.tar.gz
efl.canvas.object: clip -> clipper && clipees -> clipped_objects
Summary: also clipees_has -> clipped_objects_count ref https://phab.enlightenment.org/T7555 Depends on https://phab.enlightenment.org/D8039 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: https://phab.enlightenment.org/T7555 Differential Revision: https://phab.enlightenment.org/D8040
Diffstat (limited to 'src/examples')
-rw-r--r--src/examples/evas/evas-object-manipulation-eo.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/examples/evas/evas-object-manipulation-eo.c b/src/examples/evas/evas-object-manipulation-eo.c
index 081d063641..4d4c37fa90 100644
--- a/src/examples/evas/evas-object-manipulation-eo.c
+++ b/src/examples/evas/evas-object-manipulation-eo.c
@@ -122,15 +122,15 @@ _on_keydown(void *data EINA_UNUSED,
printf("Toggling clipping ");
Evas_Object *clip = NULL;
- clip = efl_canvas_object_clip_get(d.img);
+ clip = efl_canvas_object_clipper_get(d.img);
if (clip == d.clipper)
{
- efl_canvas_object_clip_set(d.img, NULL);
+ efl_canvas_object_clipper_set(d.img, NULL);
printf("off\n");
}
else
{
- efl_canvas_object_clip_set(d.img, d.clipper);
+ efl_canvas_object_clipper_set(d.img, d.clipper);
printf("on\n");
}
return;
@@ -237,7 +237,7 @@ main(void)
efl_gfx_entity_size_set(d.clipper, EINA_SIZE2D(WIDTH / 2, HEIGHT / 2));
efl_gfx_entity_visible_set(d.clipper, EINA_TRUE);
- efl_canvas_object_clip_set(d.img, d.clipper);
+ efl_canvas_object_clipper_set(d.img, d.clipper);
printf("%s", commands);