summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-08-09 12:40:21 -0400
committerMike Blumenkrantz <zmike@samsung.com>2019-08-09 12:40:21 -0400
commitba687d4b20050c8233ee7a84ec0a2a213186d769 (patch)
tree0d4de7575fd8abd9da9e241d92a5f50e066df046
parent735ca81d6ba225d7194ba16bd51a1faf7fe3afa4 (diff)
mark clippers static in previous 3 tests
Reviewers: cedric Reviewed By: cedric Tags: #expedite Differential Revision: https://phab.enlightenment.org/D8888
-rw-r--r--src/bin/image_mask_clipped.c1
-rw-r--r--src/bin/proxy_image_clipped.c1
-rw-r--r--src/bin/proxy_textblock.c2
3 files changed, 4 insertions, 0 deletions
diff --git a/src/bin/image_mask_clipped.c b/src/bin/image_mask_clipped.c
index a314546..0491a84 100644
--- a/src/bin/image_mask_clipped.c
+++ b/src/bin/image_mask_clipped.c
@@ -36,6 +36,7 @@ static void _setup(void)
36 efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420)); 36 efl_gfx_fill_set(o, EINA_RECT(0, 0, 720, 420));
37 efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420)); 37 efl_gfx_entity_size_set(o, EINA_SIZE2D(720, 420));
38 evas_object_clip_set(o, o_clip); 38 evas_object_clip_set(o, o_clip);
39 efl_canvas_object_has_fixed_size_set(o, 1);
39 efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2)); 40 efl_gfx_entity_position_set(o, EINA_POSITION2D((win_w - 720) / 2, (win_h - 420) / 2));
40 efl_gfx_entity_visible_set(o, EINA_TRUE); 41 efl_gfx_entity_visible_set(o, EINA_TRUE);
41 42
diff --git a/src/bin/proxy_image_clipped.c b/src/bin/proxy_image_clipped.c
index d47a21e..ecb63f8 100644
--- a/src/bin/proxy_image_clipped.c
+++ b/src/bin/proxy_image_clipped.c
@@ -44,6 +44,7 @@ static void _setup(void)
44 o_images[i + 1] = clip; 44 o_images[i + 1] = clip;
45 efl_canvas_object_clipper_set(o, clip); 45 efl_canvas_object_clipper_set(o, clip);
46 efl_gfx_entity_size_set(clip, EINA_SIZE2D(120, 80)); 46 efl_gfx_entity_size_set(clip, EINA_SIZE2D(120, 80));
47 efl_canvas_object_has_fixed_size_set(o, 1);
47 efl_gfx_entity_visible_set(clip, EINA_TRUE); 48 efl_gfx_entity_visible_set(clip, EINA_TRUE);
48 } 49 }
49 done = 0; 50 done = 0;
diff --git a/src/bin/proxy_textblock.c b/src/bin/proxy_textblock.c
index af2c644..cf72e65 100644
--- a/src/bin/proxy_textblock.c
+++ b/src/bin/proxy_textblock.c
@@ -59,6 +59,7 @@ static void _setup(void)
59 efl_gfx_entity_size_set(clip, EINA_SIZE2D(480, 80)); 59 efl_gfx_entity_size_set(clip, EINA_SIZE2D(480, 80));
60#endif 60#endif
61 efl_gfx_entity_visible_set(clip, EINA_TRUE); 61 efl_gfx_entity_visible_set(clip, EINA_TRUE);
62 efl_canvas_object_has_fixed_size_set(o, 1);
62 63
63 i++; 64 i++;
64 proxy = efl_add(EFL_CANVAS_PROXY_CLASS, evas); 65 proxy = efl_add(EFL_CANVAS_PROXY_CLASS, evas);
@@ -84,6 +85,7 @@ static void _setup(void)
84 efl_gfx_entity_visible_set(clip, EINA_FALSE); 85 efl_gfx_entity_visible_set(clip, EINA_FALSE);
85#else 86#else
86 efl_gfx_entity_visible_set(clip, EINA_TRUE); 87 efl_gfx_entity_visible_set(clip, EINA_TRUE);
88 efl_canvas_object_has_fixed_size_set(proxy, 1);
87#endif 89#endif
88 } 90 }
89 done = 0; 91 done = 0;