summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-03-17 16:53:50 -0700
committerCedric BAIL <cedric@osg.samsung.com>2016-03-17 16:53:50 -0700
commitadea5d2b265b7ea6f9ff9391df6c1c67ad50f130 (patch)
tree31097e35f0dea984afc4a1cbc27909fc8170313d
parent051a4ec0cf9245d086e8df9d426e57b1805a3d37 (diff)
migrate to new proxy object.
-rw-r--r--src/bin/proxy_image.c6
-rw-r--r--src/bin/proxy_image_offscreen.c4
-rw-r--r--src/bin/proxy_text_fixed.c8
-rw-r--r--src/bin/proxy_text_random.c6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/bin/proxy_image.c b/src/bin/proxy_image.c
index df2b4ab..e3ba82a 100644
--- a/src/bin/proxy_image.c
+++ b/src/bin/proxy_image.c
@@ -32,9 +32,9 @@ static void _setup(void)
32 32
33 for (i = 1; i < OBNUM; i++) 33 for (i = 1; i < OBNUM; i++)
34 { 34 {
35 o = eo_add(EVAS_IMAGE_CLASS, evas); 35 o = eo_add(EFL_CANVAS_PROXY_CLASS, evas);
36 o_images[i] = o; 36 o_images[i] = o;
37 evas_obj_image_source_set(o, src); 37 efl_canvas_proxy_source_set(o, src);
38 efl_gfx_size_set(o, 120, 160); 38 efl_gfx_size_set(o, 120, 160);
39 efl_gfx_fill_set(o, 0, 0, 120, 160); 39 efl_gfx_fill_set(o, 0, 0, 120, 160);
40 efl_gfx_visible_set(o, EINA_TRUE); 40 efl_gfx_visible_set(o, EINA_TRUE);
diff --git a/src/bin/proxy_image_offscreen.c b/src/bin/proxy_image_offscreen.c
index 5e4fb80..626b7d0 100644
--- a/src/bin/proxy_image_offscreen.c
+++ b/src/bin/proxy_image_offscreen.c
@@ -35,9 +35,9 @@ static void _setup(void)
35 35
36 for (i = 0; i < OBNUM / 2; i++) 36 for (i = 0; i < OBNUM / 2; i++)
37 { 37 {
38 o = eo_add(EVAS_IMAGE_CLASS, evas); 38 o = eo_add(EFL_CANVAS_PROXY_CLASS, evas);
39 o_images[i] = o; 39 o_images[i] = o;
40 evas_obj_image_source_set(o, src, NULL); 40 efl_canvas_proxy_source_set(o, src, NULL);
41 efl_gfx_size_set(o, 120, 160); 41 efl_gfx_size_set(o, 120, 160);
42 efl_gfx_fill_set(o, 0, 0, 120, 160); 42 efl_gfx_fill_set(o, 0, 0, 120, 160);
43 efl_gfx_visible_set(o, EINA_TRUE); 43 efl_gfx_visible_set(o, EINA_TRUE);
diff --git a/src/bin/proxy_text_fixed.c b/src/bin/proxy_text_fixed.c
index 0d8ec83..01ce228 100644
--- a/src/bin/proxy_text_fixed.c
+++ b/src/bin/proxy_text_fixed.c
@@ -44,10 +44,10 @@ static void _setup(void)
44 44
45 for ( ; i < OBNUM ; i ++) 45 for ( ; i < OBNUM ; i ++)
46 { 46 {
47 s = o_texts[i % st]; 47 s = o_texts[i % st];
48 o = eo_add(EVAS_IMAGE_CLASS, evas); 48 o = eo_add(EFL_CANVAS_PROXY_CLASS, evas);
49 o_texts[i] = o; 49 o_texts[i] = o;
50 evas_obj_image_source_set(o, s); 50 efl_canvas_proxy_source_set(o, s);
51 /* FIXME s == NULL*/ 51 /* FIXME s == NULL*/
52 efl_gfx_size_get(s, &w, &h); 52 efl_gfx_size_get(s, &w, &h);
53 efl_gfx_size_set(o, w, h); 53 efl_gfx_size_set(o, w, h);
diff --git a/src/bin/proxy_text_random.c b/src/bin/proxy_text_random.c
index eed870c..0d58c4a 100644
--- a/src/bin/proxy_text_random.c
+++ b/src/bin/proxy_text_random.c
@@ -50,9 +50,9 @@ static void _setup(void)
50 efl_gfx_visible_set(o, EINA_TRUE); 50 efl_gfx_visible_set(o, EINA_TRUE);
51 for (i = 1 ; i < OBNUM ; i ++) 51 for (i = 1 ; i < OBNUM ; i ++)
52 { 52 {
53 o = eo_add(EVAS_IMAGE_CLASS, evas); 53 o = eo_add(EFL_CANVAS_PROXY_CLASS, evas);
54 o_texts[i] = o; 54 o_texts[i] = o;
55 evas_obj_image_source_set(o, o_texts[0]); 55 efl_canvas_proxy_source_set(o, o_texts[0]);
56 efl_gfx_size_get(o_texts[0], &w, &h); 56 efl_gfx_size_get(o_texts[0], &w, &h);
57 efl_gfx_size_set(o, w, h); 57 efl_gfx_size_set(o, w, h);
58 efl_gfx_fill_set(o, 0, 0, w, h); 58 efl_gfx_fill_set(o, 0, 0, w, h);