summaryrefslogtreecommitdiff
path: root/src/examples/evas
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/evas
parent540d3b95874e1ebdcbd6ccf9eaf1cab0af30f833 (diff)
efl.canvas.object: clip -> clipper && clipees -> clipped_objects
Summary: also clipees_has -> clipped_objects_count ref T7555 Depends on D8039 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Maniphest Tasks: T7555 Differential Revision: https://phab.enlightenment.org/D8040
Diffstat (limited to 'src/examples/evas')
-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,
122 printf("Toggling clipping "); 122 printf("Toggling clipping ");
123 123
124 Evas_Object *clip = NULL; 124 Evas_Object *clip = NULL;
125 clip = efl_canvas_object_clip_get(d.img); 125 clip = efl_canvas_object_clipper_get(d.img);
126 if (clip == d.clipper) 126 if (clip == d.clipper)
127 { 127 {
128 efl_canvas_object_clip_set(d.img, NULL); 128 efl_canvas_object_clipper_set(d.img, NULL);
129 printf("off\n"); 129 printf("off\n");
130 } 130 }
131 else 131 else
132 { 132 {
133 efl_canvas_object_clip_set(d.img, d.clipper); 133 efl_canvas_object_clipper_set(d.img, d.clipper);
134 printf("on\n"); 134 printf("on\n");
135 } 135 }
136 return; 136 return;
@@ -237,7 +237,7 @@ main(void)
237 efl_gfx_entity_size_set(d.clipper, EINA_SIZE2D(WIDTH / 2, HEIGHT / 2)); 237 efl_gfx_entity_size_set(d.clipper, EINA_SIZE2D(WIDTH / 2, HEIGHT / 2));
238 efl_gfx_entity_visible_set(d.clipper, EINA_TRUE); 238 efl_gfx_entity_visible_set(d.clipper, EINA_TRUE);
239 239
240 efl_canvas_object_clip_set(d.img, d.clipper); 240 efl_canvas_object_clipper_set(d.img, d.clipper);
241 241
242 printf("%s", commands); 242 printf("%s", commands);
243 243