diff options
author | Tom Hacohen <tom@stosb.com> | 2016-03-09 16:31:15 +0000 |
---|---|---|
committer | Tom Hacohen <tom@stosb.com> | 2016-03-09 16:31:15 +0000 |
commit | 1c99584bcb72aabedfb7e9696bae1661c14ddd0c (patch) | |
tree | 26520d3aa0702279bcd0f9c02f2dfa549006073e /src/bin | |
parent | 088df1425e5ee03f3f26ce209b2040985e8231c5 (diff) |
Automatic migration to the new eo_add syntax.
Diffstat (limited to 'src/bin')
114 files changed, 169 insertions, 169 deletions
diff --git a/src/bin/about.c b/src/bin/about.c index f225b4a..57882de 100644 --- a/src/bin/about.c +++ b/src/bin/about.c | |||
@@ -8,7 +8,7 @@ _setup(void) | |||
8 | Evas_Object *o; | 8 | Evas_Object *o; |
9 | Evas_Textblock_Style *st; | 9 | Evas_Textblock_Style *st; |
10 | 10 | ||
11 | o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); | 11 | eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas); |
12 | efl_gfx_position_set(o, 10, 40); | 12 | efl_gfx_position_set(o, 10, 40); |
13 | efl_gfx_size_set(o, win_w - 20, win_h - 50); | 13 | efl_gfx_size_set(o, win_w - 20, win_h - 50); |
14 | efl_gfx_visible_set(o, EINA_TRUE); | 14 | efl_gfx_visible_set(o, EINA_TRUE); |
diff --git a/src/bin/image_blend_border.c b/src/bin/image_blend_border.c index 9cff6df..5f04033 100644 --- a/src/bin/image_blend_border.c +++ b/src/bin/image_blend_border.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("bar.png"), NULL); | 28 | efl_file_set(o, build_path("bar.png"), NULL); |
29 | evas_obj_image_border_set(o, 6, 6, 6, 6); | 29 | evas_obj_image_border_set(o, 6, 6, 6, 6); |
diff --git a/src/bin/image_blend_border_recolor.c b/src/bin/image_blend_border_recolor.c index 806cab7..ed172e1 100644 --- a/src/bin/image_blend_border_recolor.c +++ b/src/bin/image_blend_border_recolor.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("pan.png"), NULL); | 28 | efl_file_set(o, build_path("pan.png"), NULL); |
29 | efl_gfx_color_set(o, 64, 64, 64, 255); | 29 | efl_gfx_color_set(o, 64, 64, 64, 255); |
diff --git a/src/bin/image_blend_fade_pow2_unscaled.c b/src/bin/image_blend_fade_pow2_unscaled.c index 48964bf..8c0445d 100644 --- a/src/bin/image_blend_fade_pow2_unscaled.c +++ b/src/bin/image_blend_fade_pow2_unscaled.c | |||
@@ -25,7 +25,7 @@ static void _setup(void) | |||
25 | { | 25 | { |
26 | int a; | 26 | int a; |
27 | 27 | ||
28 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 28 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
29 | o_images[i] = o; | 29 | o_images[i] = o; |
30 | efl_file_set(o, build_path("logo.png"), NULL); | 30 | efl_file_set(o, build_path("logo.png"), NULL); |
31 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 31 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_blend_fade_unscaled.c b/src/bin/image_blend_fade_unscaled.c index 479e133..eaff498 100644 --- a/src/bin/image_blend_fade_unscaled.c +++ b/src/bin/image_blend_fade_unscaled.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | int a; | 26 | int a; |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | a = rnd()&0xff; | 29 | a = rnd()&0xff; |
30 | efl_file_set(o, build_path("logo.png"), NULL); | 30 | efl_file_set(o, build_path("logo.png"), NULL); |
diff --git a/src/bin/image_blend_many_smooth_same_scaled.c b/src/bin/image_blend_many_smooth_same_scaled.c index 7fb6d5e..956db17 100644 --- a/src/bin/image_blend_many_smooth_same_scaled.c +++ b/src/bin/image_blend_many_smooth_same_scaled.c | |||
@@ -25,7 +25,7 @@ static void _setup(void) | |||
25 | Evas_Object *o; | 25 | Evas_Object *o; |
26 | for (i = 0; i < MANYNUM; i++) | 26 | for (i = 0; i < MANYNUM; i++) |
27 | { | 27 | { |
28 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 28 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
29 | o_images[i] = o; | 29 | o_images[i] = o; |
30 | n = rnd() % 100; | 30 | n = rnd() % 100; |
31 | w = 3 + ((n * (60 - 3)) / 100); | 31 | w = 3 + ((n * (60 - 3)) / 100); |
diff --git a/src/bin/image_blend_nearest_same_scaled.c b/src/bin/image_blend_nearest_same_scaled.c index 46dc638..7033dbb 100644 --- a/src/bin/image_blend_nearest_same_scaled.c +++ b/src/bin/image_blend_nearest_same_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 0); | 29 | efl_image_smooth_scale_set(o, 0); |
diff --git a/src/bin/image_blend_nearest_scaled.c b/src/bin/image_blend_nearest_scaled.c index 43b0fa1..d6e9d96 100644 --- a/src/bin/image_blend_nearest_scaled.c +++ b/src/bin/image_blend_nearest_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 0); | 29 | efl_image_smooth_scale_set(o, 0); |
diff --git a/src/bin/image_blend_nearest_solid_same_scaled.c b/src/bin/image_blend_nearest_solid_same_scaled.c index 99fad1c..90a6e89 100644 --- a/src/bin/image_blend_nearest_solid_same_scaled.c +++ b/src/bin/image_blend_nearest_solid_same_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 0); | 29 | efl_image_smooth_scale_set(o, 0); |
diff --git a/src/bin/image_blend_nearest_solid_scaled.c b/src/bin/image_blend_nearest_solid_scaled.c index 561c52d..a36df6c 100644 --- a/src/bin/image_blend_nearest_solid_scaled.c +++ b/src/bin/image_blend_nearest_solid_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 0); | 29 | efl_image_smooth_scale_set(o, 0); |
diff --git a/src/bin/image_blend_occlude1.c b/src/bin/image_blend_occlude1.c index 1a7c59d..6c3cd41 100644 --- a/src/bin/image_blend_occlude1.c +++ b/src/bin/image_blend_occlude1.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | srnd(); | 24 | srnd(); |
25 | for (i = 0; i < OBNUM; i++) | 25 | for (i = 0; i < OBNUM; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | if (i < (OBNUM / 2)) | 29 | if (i < (OBNUM / 2)) |
30 | { | 30 | { |
diff --git a/src/bin/image_blend_occlude1_few.c b/src/bin/image_blend_occlude1_few.c index bec28f5..d03c7d4 100644 --- a/src/bin/image_blend_occlude1_few.c +++ b/src/bin/image_blend_occlude1_few.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i < (OBNUM / 2)) | 32 | if (i < (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude1_many.c b/src/bin/image_blend_occlude1_many.c index 00c988b..b71adcc 100644 --- a/src/bin/image_blend_occlude1_many.c +++ b/src/bin/image_blend_occlude1_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i < (OBNUM / 2)) | 32 | if (i < (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude1_very_many.c b/src/bin/image_blend_occlude1_very_many.c index 65f7b77..5bed1ce 100644 --- a/src/bin/image_blend_occlude1_very_many.c +++ b/src/bin/image_blend_occlude1_very_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i < (OBNUM / 2)) | 32 | if (i < (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude2.c b/src/bin/image_blend_occlude2.c index 7853fcd..9d2d064 100644 --- a/src/bin/image_blend_occlude2.c +++ b/src/bin/image_blend_occlude2.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | srnd(); | 24 | srnd(); |
25 | for (i = 0; i < OBNUM; i++) | 25 | for (i = 0; i < OBNUM; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | if (i & 0x1) | 29 | if (i & 0x1) |
30 | { | 30 | { |
diff --git a/src/bin/image_blend_occlude2_few.c b/src/bin/image_blend_occlude2_few.c index 4d5668d..a7d0a56 100644 --- a/src/bin/image_blend_occlude2_few.c +++ b/src/bin/image_blend_occlude2_few.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i & 0x1) | 32 | if (i & 0x1) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude2_many.c b/src/bin/image_blend_occlude2_many.c index b5e643a..351d2e6 100644 --- a/src/bin/image_blend_occlude2_many.c +++ b/src/bin/image_blend_occlude2_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i & 0x1) | 32 | if (i & 0x1) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude2_very_many.c b/src/bin/image_blend_occlude2_very_many.c index 3db2b7f..26e9a23 100644 --- a/src/bin/image_blend_occlude2_very_many.c +++ b/src/bin/image_blend_occlude2_very_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i & 0x1) | 32 | if (i & 0x1) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude3.c b/src/bin/image_blend_occlude3.c index 6c60261..dbf9093 100644 --- a/src/bin/image_blend_occlude3.c +++ b/src/bin/image_blend_occlude3.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | srnd(); | 24 | srnd(); |
25 | for (i = 0; i < OBNUM; i++) | 25 | for (i = 0; i < OBNUM; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | if (i > (OBNUM / 2)) | 29 | if (i > (OBNUM / 2)) |
30 | { | 30 | { |
diff --git a/src/bin/image_blend_occlude3_few.c b/src/bin/image_blend_occlude3_few.c index daf4e68..3be0e3d 100644 --- a/src/bin/image_blend_occlude3_few.c +++ b/src/bin/image_blend_occlude3_few.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i > (OBNUM / 2)) | 32 | if (i > (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude3_many.c b/src/bin/image_blend_occlude3_many.c index 9485048..2b48835 100644 --- a/src/bin/image_blend_occlude3_many.c +++ b/src/bin/image_blend_occlude3_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i > (OBNUM / 2)) | 32 | if (i > (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_occlude3_very_many.c b/src/bin/image_blend_occlude3_very_many.c index 2b1423f..06b7c87 100644 --- a/src/bin/image_blend_occlude3_very_many.c +++ b/src/bin/image_blend_occlude3_very_many.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | srnd(); | 27 | srnd(); |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | if (i > (OBNUM / 2)) | 32 | if (i > (OBNUM / 2)) |
33 | { | 33 | { |
diff --git a/src/bin/image_blend_smooth_same_scaled.c b/src/bin/image_blend_smooth_same_scaled.c index a71d5dc..27f4d86 100644 --- a/src/bin/image_blend_smooth_same_scaled.c +++ b/src/bin/image_blend_smooth_same_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 1); | 29 | efl_image_smooth_scale_set(o, 1); |
diff --git a/src/bin/image_blend_smooth_scaled.c b/src/bin/image_blend_smooth_scaled.c index f6ccf32..e1ef394 100644 --- a/src/bin/image_blend_smooth_scaled.c +++ b/src/bin/image_blend_smooth_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 1); | 29 | efl_image_smooth_scale_set(o, 1); |
diff --git a/src/bin/image_blend_smooth_solid_same_scaled.c b/src/bin/image_blend_smooth_solid_same_scaled.c index 54512d1..185e144 100644 --- a/src/bin/image_blend_smooth_solid_same_scaled.c +++ b/src/bin/image_blend_smooth_solid_same_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 1); | 29 | efl_image_smooth_scale_set(o, 1); |
diff --git a/src/bin/image_blend_smooth_solid_scaled.c b/src/bin/image_blend_smooth_solid_scaled.c index 6e3078a..6e87219 100644 --- a/src/bin/image_blend_smooth_solid_scaled.c +++ b/src/bin/image_blend_smooth_solid_scaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_image_smooth_scale_set(o, 1); | 29 | efl_image_smooth_scale_set(o, 1); |
diff --git a/src/bin/image_blend_solid_border.c b/src/bin/image_blend_solid_border.c index 15430dc..4f92278 100644 --- a/src/bin/image_blend_solid_border.c +++ b/src/bin/image_blend_solid_border.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("frame.png"), NULL); | 28 | efl_file_set(o, build_path("frame.png"), NULL); |
29 | evas_obj_image_border_set(o, 8, 8, 8, 8); | 29 | evas_obj_image_border_set(o, 8, 8, 8, 8); |
diff --git a/src/bin/image_blend_solid_fade_pow2_unscaled.c b/src/bin/image_blend_solid_fade_pow2_unscaled.c index 74cf9ba..624c8ee 100644 --- a/src/bin/image_blend_solid_fade_pow2_unscaled.c +++ b/src/bin/image_blend_solid_fade_pow2_unscaled.c | |||
@@ -25,7 +25,7 @@ static void _setup(void) | |||
25 | { | 25 | { |
26 | int a; | 26 | int a; |
27 | 27 | ||
28 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 28 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
29 | o_images[i] = o; | 29 | o_images[i] = o; |
30 | efl_file_set(o, build_path("image.png"), NULL); | 30 | efl_file_set(o, build_path("image.png"), NULL); |
31 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 31 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_blend_solid_fade_unscaled.c b/src/bin/image_blend_solid_fade_unscaled.c index a0f35d4..37c016b 100644 --- a/src/bin/image_blend_solid_fade_unscaled.c +++ b/src/bin/image_blend_solid_fade_unscaled.c | |||
@@ -25,7 +25,7 @@ static void _setup(void) | |||
25 | { | 25 | { |
26 | int a; | 26 | int a; |
27 | 27 | ||
28 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 28 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
29 | o_images[i] = o; | 29 | o_images[i] = o; |
30 | efl_file_set(o, build_path("image.png"), NULL); | 30 | efl_file_set(o, build_path("image.png"), NULL); |
31 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 31 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_blend_solid_middle_border.c b/src/bin/image_blend_solid_middle_border.c index bf5636f..c105a45 100644 --- a/src/bin/image_blend_solid_middle_border.c +++ b/src/bin/image_blend_solid_middle_border.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("bar.png"), NULL); | 28 | efl_file_set(o, build_path("bar.png"), NULL); |
29 | evas_obj_image_border_set(o, 6, 6, 6, 6); | 29 | evas_obj_image_border_set(o, 6, 6, 6, 6); |
diff --git a/src/bin/image_blend_solid_middle_unscaled.c b/src/bin/image_blend_solid_middle_unscaled.c index d607b25..06bac88 100644 --- a/src/bin/image_blend_solid_middle_unscaled.c +++ b/src/bin/image_blend_solid_middle_unscaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_blend_solid_unscaled.c b/src/bin/image_blend_solid_unscaled.c index 7ad5f02..0970294 100644 --- a/src/bin/image_blend_solid_unscaled.c +++ b/src/bin/image_blend_solid_unscaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_blend_unscaled.c b/src/bin/image_blend_unscaled.c index 139f565..2b7628b 100644 --- a/src/bin/image_blend_unscaled.c +++ b/src/bin/image_blend_unscaled.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i++) | 24 | for (i = 0; i < OBNUM; i++) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("logo.png"), NULL); | 28 | efl_file_set(o, build_path("logo.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_crossfade.c b/src/bin/image_crossfade.c index 2345130..30a0880 100644 --- a/src/bin/image_crossfade.c +++ b/src/bin/image_crossfade.c | |||
@@ -22,14 +22,14 @@ static void _setup(void) | |||
22 | { | 22 | { |
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | 24 | ||
25 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 25 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
26 | o_images[0] = o; | 26 | o_images[0] = o; |
27 | efl_file_set(o, build_path("im1.png"), NULL); | 27 | efl_file_set(o, build_path("im1.png"), NULL); |
28 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 28 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
29 | efl_gfx_size_set(o, 720, 420); | 29 | efl_gfx_size_set(o, 720, 420); |
30 | efl_gfx_visible_set(o, EINA_TRUE); | 30 | efl_gfx_visible_set(o, EINA_TRUE); |
31 | 31 | ||
32 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 32 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
33 | o_images[1] = o; | 33 | o_images[1] = o; |
34 | efl_file_set(o, build_path("im2.png"), NULL); | 34 | efl_file_set(o, build_path("im2.png"), NULL); |
35 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 35 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
diff --git a/src/bin/image_data_argb.c b/src/bin/image_data_argb.c index 9d1bca5..e849490 100644 --- a/src/bin/image_data_argb.c +++ b/src/bin/image_data_argb.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < 1; i++) | 25 | for (i = 0; i < 1; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 29 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
30 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888); | 30 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888); |
diff --git a/src/bin/image_data_argb_alpha.c b/src/bin/image_data_argb_alpha.c index 714e092..95f9b37 100644 --- a/src/bin/image_data_argb_alpha.c +++ b/src/bin/image_data_argb_alpha.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < 1; i++) | 25 | for (i = 0; i < 1; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 29 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
30 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888); | 30 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_ARGB8888); |
diff --git a/src/bin/image_data_ycbcr601pl.c b/src/bin/image_data_ycbcr601pl.c index 42a20a5..a6e59e1 100644 --- a/src/bin/image_data_ycbcr601pl.c +++ b/src/bin/image_data_ycbcr601pl.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | Evas_Object *o; | 27 | Evas_Object *o; |
28 | for (i = 0; i < 1; i++) | 28 | for (i = 0; i < 1; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); | 33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); |
diff --git a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c index bc9840c..7dc61f9 100644 --- a/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c +++ b/src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | Evas_Object *o; | 27 | Evas_Object *o; |
28 | for (i = 0; i < 1; i++) | 28 | for (i = 0; i < 1; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); | 33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); |
diff --git a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c index c6e60bc..4e293d5 100644 --- a/src/bin/image_data_ycbcr601pl_map_solid_rotate.c +++ b/src/bin/image_data_ycbcr601pl_map_solid_rotate.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | Evas_Object *o; | 27 | Evas_Object *o; |
28 | for (i = 0; i < 1; i++) | 28 | for (i = 0; i < 1; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); | 33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); |
diff --git a/src/bin/image_data_ycbcr601pl_wide_stride.c b/src/bin/image_data_ycbcr601pl_wide_stride.c index f6690b9..cb2ad71 100644 --- a/src/bin/image_data_ycbcr601pl_wide_stride.c +++ b/src/bin/image_data_ycbcr601pl_wide_stride.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | Evas_Object *o; | 27 | Evas_Object *o; |
28 | for (i = 0; i < 1; i++) | 28 | for (i = 0; i < 1; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 30 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
31 | o_images[i] = o; | 31 | o_images[i] = o; |
32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); | 32 | evas_obj_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC); |
33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); | 33 | evas_obj_image_colorspace_set(o, EVAS_COLORSPACE_YCBCR422P601_PL); |
diff --git a/src/bin/image_map_3d_1.c b/src/bin/image_map_3d_1.c index 03f0986..f92a2d2 100644 --- a/src/bin/image_map_3d_1.c +++ b/src/bin/image_map_3d_1.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); | 59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_2.c b/src/bin/image_map_3d_2.c index e925987..1f27e45 100644 --- a/src/bin/image_map_3d_2.c +++ b/src/bin/image_map_3d_2.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); | 59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_3.c b/src/bin/image_map_3d_3.c index c7acb0f..785292c 100644 --- a/src/bin/image_map_3d_3.c +++ b/src/bin/image_map_3d_3.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); | 59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_4.c b/src/bin/image_map_3d_4.c index 3ccf903..c6b03f0 100644 --- a/src/bin/image_map_3d_4.c +++ b/src/bin/image_map_3d_4.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); | 59 | snprintf(buf, sizeof(buf), "cube%i.png", i + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_5.c b/src/bin/image_map_3d_5.c index 529104c..6a0bacb 100644 --- a/src/bin/image_map_3d_5.c +++ b/src/bin/image_map_3d_5.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); | 59 | snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_6.c b/src/bin/image_map_3d_6.c index a6c84cf..2f8298d 100644 --- a/src/bin/image_map_3d_6.c +++ b/src/bin/image_map_3d_6.c | |||
@@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d) | |||
54 | { | 54 | { |
55 | Evas_Object *o; | 55 | Evas_Object *o; |
56 | char buf[256]; | 56 | char buf[256]; |
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | c->side[i].o = o; | 58 | c->side[i].o = o; |
59 | snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); | 59 | snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1); |
60 | efl_file_set(o, build_path(buf), NULL); | 60 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_3d_flow.c b/src/bin/image_map_3d_flow.c index 6f60976..6c726c2 100644 --- a/src/bin/image_map_3d_flow.c +++ b/src/bin/image_map_3d_flow.c | |||
@@ -29,7 +29,7 @@ static void _setup(void) | |||
29 | { | 29 | { |
30 | char buf[256]; | 30 | char buf[256]; |
31 | 31 | ||
32 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 32 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
33 | o_images[i] = o; | 33 | o_images[i] = o; |
34 | snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); | 34 | snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); |
35 | efl_file_set(o, build_path(buf), NULL); | 35 | efl_file_set(o, build_path(buf), NULL); |
@@ -38,7 +38,7 @@ static void _setup(void) | |||
38 | efl_image_smooth_scale_set(o, 0); | 38 | efl_image_smooth_scale_set(o, 0); |
39 | efl_gfx_visible_set(o, EINA_TRUE); | 39 | efl_gfx_visible_set(o, EINA_TRUE); |
40 | 40 | ||
41 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 41 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
42 | o_reflec[i] = o; | 42 | o_reflec[i] = o; |
43 | snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); | 43 | snprintf(buf, sizeof(buf), "cube%i.png", (i % 6) + 1); |
44 | efl_file_set(o, build_path(buf), NULL); | 44 | efl_file_set(o, build_path(buf), NULL); |
diff --git a/src/bin/image_map_color_alpha_nearest_rotate.c b/src/bin/image_map_color_alpha_nearest_rotate.c index c59442b..3b50c7d 100644 --- a/src/bin/image_map_color_alpha_nearest_rotate.c +++ b/src/bin/image_map_color_alpha_nearest_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_alpha_nearest_solid_rotate.c b/src/bin/image_map_color_alpha_nearest_solid_rotate.c index 230bf90..52e522c 100644 --- a/src/bin/image_map_color_alpha_nearest_solid_rotate.c +++ b/src/bin/image_map_color_alpha_nearest_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_alpha_rotate.c b/src/bin/image_map_color_alpha_rotate.c index 7483e2e..a9d40a8 100644 --- a/src/bin/image_map_color_alpha_rotate.c +++ b/src/bin/image_map_color_alpha_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_alpha_solid_rotate.c b/src/bin/image_map_color_alpha_solid_rotate.c index 075a10a..67a801a 100644 --- a/src/bin/image_map_color_alpha_solid_rotate.c +++ b/src/bin/image_map_color_alpha_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_nearest_rotate.c b/src/bin/image_map_color_nearest_rotate.c index e1b0038..addac92 100644 --- a/src/bin/image_map_color_nearest_rotate.c +++ b/src/bin/image_map_color_nearest_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_nearest_solid_rotate.c b/src/bin/image_map_color_nearest_solid_rotate.c index c776155..48415a0 100644 --- a/src/bin/image_map_color_nearest_solid_rotate.c +++ b/src/bin/image_map_color_nearest_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_rotate.c b/src/bin/image_map_color_rotate.c index 2f5053c..35a6741 100644 --- a/src/bin/image_map_color_rotate.c +++ b/src/bin/image_map_color_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_color_solid_rotate.c b/src/bin/image_map_color_solid_rotate.c index ad7690e..075c044 100644 --- a/src/bin/image_map_color_solid_rotate.c +++ b/src/bin/image_map_color_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_nearest_rotate.c b/src/bin/image_map_nearest_rotate.c index ead9e9b..b959fdc 100644 --- a/src/bin/image_map_nearest_rotate.c +++ b/src/bin/image_map_nearest_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_nearest_solid_rotate.c b/src/bin/image_map_nearest_solid_rotate.c index 08f4db2..d058361 100644 --- a/src/bin/image_map_nearest_solid_rotate.c +++ b/src/bin/image_map_nearest_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_rotate.c b/src/bin/image_map_rotate.c index 2289781..7a05604 100644 --- a/src/bin/image_map_rotate.c +++ b/src/bin/image_map_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("logo.png"), NULL); | 29 | efl_file_set(o, build_path("logo.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_map_solid_rotate.c b/src/bin/image_map_solid_rotate.c index 38302b2..796c8c1 100644 --- a/src/bin/image_map_solid_rotate.c +++ b/src/bin/image_map_solid_rotate.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < (OBNUM / 2); i++) | 25 | for (i = 0; i < (OBNUM / 2); i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("image.png"), NULL); | 29 | efl_file_set(o, build_path("image.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 30 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask.c b/src/bin/image_mask.c index b757324..48595f7 100644 --- a/src/bin/image_mask.c +++ b/src/bin/image_mask.c | |||
@@ -23,14 +23,14 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i+= 2) | 24 | for (i = 0; i < OBNUM; i+= 2) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
30 | efl_gfx_size_set(o, 120, 160); | 30 | efl_gfx_size_set(o, 120, 160); |
31 | efl_gfx_visible_set(o, EINA_TRUE); | 31 | efl_gfx_visible_set(o, EINA_TRUE); |
32 | 32 | ||
33 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 33 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
34 | o_images[i + 1] = o; | 34 | o_images[i + 1] = o; |
35 | efl_file_set(o, build_path("e-logo.png"), NULL); | 35 | efl_file_set(o, build_path("e-logo.png"), NULL); |
36 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 36 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_10.c b/src/bin/image_mask_10.c index 03862d8..b17db12 100644 --- a/src/bin/image_mask_10.c +++ b/src/bin/image_mask_10.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < 1; i++) | 34 | for (i = 0; i < 1; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("texture.png"), NULL); | 38 | efl_file_set(o, build_path("texture.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, win_w * 4, win_h * 4); | 39 | efl_gfx_fill_set(o, 0, 0, win_w * 4, win_h * 4); |
diff --git a/src/bin/image_mask_11.c b/src/bin/image_mask_11.c index eadacb4..8f75b18 100644 --- a/src/bin/image_mask_11.c +++ b/src/bin/image_mask_11.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_12.c b/src/bin/image_mask_12.c index bba8768..041e564 100644 --- a/src/bin/image_mask_12.c +++ b/src/bin/image_mask_12.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_13.c b/src/bin/image_mask_13.c index 979b0a0..0bebd5c 100644 --- a/src/bin/image_mask_13.c +++ b/src/bin/image_mask_13.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_2.c b/src/bin/image_mask_2.c index db87b90..eff5101 100644 --- a/src/bin/image_mask_2.c +++ b/src/bin/image_mask_2.c | |||
@@ -23,14 +23,14 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i+= 2) | 24 | for (i = 0; i < OBNUM; i+= 2) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("image.png"), NULL); | 28 | efl_file_set(o, build_path("image.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
30 | efl_gfx_size_set(o, 120, 160); | 30 | efl_gfx_size_set(o, 120, 160); |
31 | efl_gfx_visible_set(o, EINA_TRUE); | 31 | efl_gfx_visible_set(o, EINA_TRUE); |
32 | 32 | ||
33 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 33 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
34 | o_images[i + 1] = o; | 34 | o_images[i + 1] = o; |
35 | efl_file_set(o, build_path("e-logo-2.png"), NULL); | 35 | efl_file_set(o, build_path("e-logo-2.png"), NULL); |
36 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 36 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_3.c b/src/bin/image_mask_3.c index a3075af..3af97ba 100644 --- a/src/bin/image_mask_3.c +++ b/src/bin/image_mask_3.c | |||
@@ -23,14 +23,14 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | for (i = 0; i < OBNUM; i+= 2) | 24 | for (i = 0; i < OBNUM; i+= 2) |
25 | { | 25 | { |
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_images[i] = o; | 27 | o_images[i] = o; |
28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
30 | efl_gfx_size_set(o, 120, 160); | 30 | efl_gfx_size_set(o, 120, 160); |
31 | efl_gfx_visible_set(o, EINA_TRUE); | 31 | efl_gfx_visible_set(o, EINA_TRUE); |
32 | 32 | ||
33 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 33 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
34 | o_images[i + 1] = o; | 34 | o_images[i + 1] = o; |
35 | efl_file_set(o, build_path("logo.png"), NULL); | 35 | efl_file_set(o, build_path("logo.png"), NULL); |
36 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 36 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_4.c b/src/bin/image_mask_4.c index 90ab4b5..74359f3 100644 --- a/src/bin/image_mask_4.c +++ b/src/bin/image_mask_4.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_5.c b/src/bin/image_mask_5.c index 53fa584..bbb5e13 100644 --- a/src/bin/image_mask_5.c +++ b/src/bin/image_mask_5.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_6.c b/src/bin/image_mask_6.c index 8e5684d..324087c 100644 --- a/src/bin/image_mask_6.c +++ b/src/bin/image_mask_6.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120 / 2, 160 / 2); | 39 | efl_gfx_fill_set(o, 0, 0, 120 / 2, 160 / 2); |
diff --git a/src/bin/image_mask_7.c b/src/bin/image_mask_7.c index 13c8d76..5a9a3c1 100644 --- a/src/bin/image_mask_7.c +++ b/src/bin/image_mask_7.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-2.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 29 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < OBNUM; i++) | 34 | for (i = 0; i < OBNUM; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("logo.png"), NULL); | 38 | efl_file_set(o, build_path("logo.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 39 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
diff --git a/src/bin/image_mask_8.c b/src/bin/image_mask_8.c index b31c624..bdb4556 100644 --- a/src/bin/image_mask_8.c +++ b/src/bin/image_mask_8.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < 1; i++) | 34 | for (i = 0; i < 1; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("texture.png"), NULL); | 38 | efl_file_set(o, build_path("texture.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 500, 444); | 39 | efl_gfx_fill_set(o, 0, 0, 500, 444); |
diff --git a/src/bin/image_mask_9.c b/src/bin/image_mask_9.c index 9289952..4d8062c 100644 --- a/src/bin/image_mask_9.c +++ b/src/bin/image_mask_9.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | int i; | 23 | int i; |
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | 25 | ||
26 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 26 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
27 | o_mask = o; | 27 | o_mask = o; |
28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); | 28 | efl_file_set(o, build_path("e-logo-mask.png"), NULL); |
29 | efl_gfx_fill_set(o, 0, 0, 720, 420); | 29 | efl_gfx_fill_set(o, 0, 0, 720, 420); |
@@ -33,7 +33,7 @@ static void _setup(void) | |||
33 | 33 | ||
34 | for (i = 0; i < 1; i++) | 34 | for (i = 0; i < 1; i++) |
35 | { | 35 | { |
36 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 36 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
37 | o_images[i] = o; | 37 | o_images[i] = o; |
38 | efl_file_set(o, build_path("texture.png"), NULL); | 38 | efl_file_set(o, build_path("texture.png"), NULL); |
39 | efl_gfx_fill_set(o, 0, 0, 500, 444); | 39 | efl_gfx_fill_set(o, 0, 0, 500, 444); |
diff --git a/src/bin/image_quality_scale.c b/src/bin/image_quality_scale.c index 34f61fc..965357d 100644 --- a/src/bin/image_quality_scale.c +++ b/src/bin/image_quality_scale.c | |||
@@ -24,7 +24,7 @@ static void _setup(void) | |||
24 | Evas_Object *o; | 24 | Evas_Object *o; |
25 | for (i = 0; i < 1; i++) | 25 | for (i = 0; i < 1; i++) |
26 | { | 26 | { |
27 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 27 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
28 | o_images[i] = o; | 28 | o_images[i] = o; |
29 | efl_file_set(o, build_path("tp.png"), NULL); | 29 | efl_file_set(o, build_path("tp.png"), NULL); |
30 | efl_gfx_fill_set(o, 0, 0, 640, 480); | 30 | efl_gfx_fill_set(o, 0, 0, 640, 480); |
diff --git a/src/bin/line_blend.c b/src/bin/line_blend.c index 9deeb18..289b81d 100644 --- a/src/bin/line_blend.c +++ b/src/bin/line_blend.c | |||
@@ -26,7 +26,7 @@ static void _setup(void) | |||
26 | { | 26 | { |
27 | int r, g, b, a; | 27 | int r, g, b, a; |
28 | 28 | ||
29 | o = eo_add(EVAS_LINE_CLASS, evas); | 29 | eo_add(&o, EVAS_LINE_CLASS, evas); |
30 | o_images[i] = o; | 30 | o_images[i] = o; |
31 | a = (rnd()&0xff) / 2; | 31 | a = (rnd()&0xff) / 2; |
32 | r = ((rnd()&0xff) * a) / 255; | 32 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/poly_blend.c b/src/bin/poly_blend.c index 54b6951..92f5970 100644 --- a/src/bin/poly_blend.c +++ b/src/bin/poly_blend.c | |||
@@ -73,7 +73,7 @@ static void _setup(void) | |||
73 | { | 73 | { |
74 | int r, g, b, a; | 74 | int r, g, b, a; |
75 | 75 | ||
76 | o = eo_add(EVAS_POLYGON_CLASS, evas); | 76 | eo_add(&o, EVAS_POLYGON_CLASS, evas); |
77 | o_images[i] = o; | 77 | o_images[i] = o; |
78 | a = (rnd()&0xff) / 2; | 78 | a = (rnd()&0xff) / 2; |
79 | r = ((rnd()&0xff) * a) / 255; | 79 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/proxy_image.c b/src/bin/proxy_image.c index df2b4ab..69c0c10 100644 --- a/src/bin/proxy_image.c +++ b/src/bin/proxy_image.c | |||
@@ -22,7 +22,7 @@ static void _setup(void) | |||
22 | int i; | 22 | int i; |
23 | Evas_Object *o,*src; | 23 | Evas_Object *o,*src; |
24 | 24 | ||
25 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 25 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
26 | efl_file_set(o, build_path("logo.png"), NULL); | 26 | efl_file_set(o, build_path("logo.png"), NULL); |
27 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 27 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
28 | efl_gfx_size_set(o, 120, 160); | 28 | efl_gfx_size_set(o, 120, 160); |
@@ -32,7 +32,7 @@ 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 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
36 | o_images[i] = o; | 36 | o_images[i] = o; |
37 | evas_obj_image_source_set(o, src); | 37 | evas_obj_image_source_set(o, src); |
38 | efl_gfx_size_set(o, 120, 160); | 38 | efl_gfx_size_set(o, 120, 160); |
diff --git a/src/bin/proxy_image_offscreen.c b/src/bin/proxy_image_offscreen.c index 5e4fb80..05f8d3f 100644 --- a/src/bin/proxy_image_offscreen.c +++ b/src/bin/proxy_image_offscreen.c | |||
@@ -26,7 +26,7 @@ static void _setup(void) | |||
26 | int i; | 26 | int i; |
27 | Evas_Object *o,*src; | 27 | Evas_Object *o,*src; |
28 | 28 | ||
29 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 29 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
30 | efl_file_set(o, build_path("logo.png"), NULL); | 30 | efl_file_set(o, build_path("logo.png"), NULL); |
31 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 31 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
32 | efl_gfx_size_set(o, 120, 160); | 32 | efl_gfx_size_set(o, 120, 160); |
@@ -35,7 +35,7 @@ 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 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
39 | o_images[i] = o; | 39 | o_images[i] = o; |
40 | evas_obj_image_source_set(o, src, NULL); | 40 | evas_obj_image_source_set(o, src, NULL); |
41 | efl_gfx_size_set(o, 120, 160); | 41 | efl_gfx_size_set(o, 120, 160); |
diff --git a/src/bin/proxy_text_fixed.c b/src/bin/proxy_text_fixed.c index 0d8ec83..7171f3c 100644 --- a/src/bin/proxy_text_fixed.c +++ b/src/bin/proxy_text_fixed.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | st = EVAS_TEXT_STYLE_SHADOW; | 27 | st = EVAS_TEXT_STYLE_SHADOW; |
28 | for (i = 0; st <= EVAS_TEXT_STYLE_FAR_SOFT_SHADOW; i++) | 28 | for (i = 0; st <= EVAS_TEXT_STYLE_FAR_SOFT_SHADOW; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_TEXT_CLASS, evas); | 30 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
31 | o_texts[i] = o; | 31 | o_texts[i] = o; |
32 | efl_text_properties_font_set(o, "Vera-Bold", 20); | 32 | efl_text_properties_font_set(o, "Vera-Bold", 20); |
33 | efl_text_set(o, "This is a test string"); | 33 | efl_text_set(o, "This is a test string"); |
@@ -45,7 +45,7 @@ static void _setup(void) | |||
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 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
49 | o_texts[i] = o; | 49 | o_texts[i] = o; |
50 | evas_obj_image_source_set(o, s); | 50 | evas_obj_image_source_set(o, s); |
51 | /* FIXME s == NULL*/ | 51 | /* FIXME s == NULL*/ |
diff --git a/src/bin/proxy_text_random.c b/src/bin/proxy_text_random.c index eed870c..490b059 100644 --- a/src/bin/proxy_text_random.c +++ b/src/bin/proxy_text_random.c | |||
@@ -30,7 +30,7 @@ static void _setup(void) | |||
30 | "Fiddly", "Family", "Lair", "Monkeys", "Magazine" | 30 | "Fiddly", "Family", "Lair", "Monkeys", "Magazine" |
31 | }; | 31 | }; |
32 | srnd(); | 32 | srnd(); |
33 | o = eo_add(EVAS_TEXT_CLASS, evas); | 33 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
34 | o_texts[0] = o; | 34 | o_texts[0] = o; |
35 | snprintf(buf, sizeof(buf), "%s %s %s %s.", | 35 | snprintf(buf, sizeof(buf), "%s %s %s %s.", |
36 | strs[rnd() % (sizeof(strs) / sizeof(char *))], | 36 | strs[rnd() % (sizeof(strs) / sizeof(char *))], |
@@ -50,7 +50,7 @@ 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 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
54 | o_texts[i] = o; | 54 | o_texts[i] = o; |
55 | evas_obj_image_source_set(o, o_texts[0]); | 55 | evas_obj_image_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); |
diff --git a/src/bin/rect_blend.c b/src/bin/rect_blend.c index 51dcaf6..312efb6 100644 --- a/src/bin/rect_blend.c +++ b/src/bin/rect_blend.c | |||
@@ -26,7 +26,7 @@ static void _setup(void) | |||
26 | { | 26 | { |
27 | int r, g, b, a; | 27 | int r, g, b, a; |
28 | 28 | ||
29 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 29 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
30 | o_images[i] = o; | 30 | o_images[i] = o; |
31 | a = rnd()&0xff; | 31 | a = rnd()&0xff; |
32 | r = ((rnd()&0xff) * a) / 255; | 32 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/rect_blend_few.c b/src/bin/rect_blend_few.c index fac3244..c29fa88 100644 --- a/src/bin/rect_blend_few.c +++ b/src/bin/rect_blend_few.c | |||
@@ -29,7 +29,7 @@ static void _setup(void) | |||
29 | { | 29 | { |
30 | int r, g, b, a; | 30 | int r, g, b, a; |
31 | 31 | ||
32 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 32 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
33 | o_images[i] = o; | 33 | o_images[i] = o; |
34 | a = rnd()&0xff; | 34 | a = rnd()&0xff; |
35 | r = ((rnd()&0xff) * a) / 255; | 35 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/rect_blend_pow2.c b/src/bin/rect_blend_pow2.c index 31fef38..7a9bd01 100644 --- a/src/bin/rect_blend_pow2.c +++ b/src/bin/rect_blend_pow2.c | |||
@@ -26,7 +26,7 @@ static void _setup(void) | |||
26 | { | 26 | { |
27 | int r, g, b, a; | 27 | int r, g, b, a; |
28 | 28 | ||
29 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 29 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
30 | o_images[i] = o; | 30 | o_images[i] = o; |
31 | a = 256 - (1 << ((rnd() % 8) + 1)); | 31 | a = 256 - (1 << ((rnd() % 8) + 1)); |
32 | if (a < 128) a = 128; | 32 | if (a < 128) a = 128; |
diff --git a/src/bin/rect_blend_pow2_few.c b/src/bin/rect_blend_pow2_few.c index 214602b..f0b7510 100644 --- a/src/bin/rect_blend_pow2_few.c +++ b/src/bin/rect_blend_pow2_few.c | |||
@@ -29,7 +29,7 @@ static void _setup(void) | |||
29 | { | 29 | { |
30 | int r, g, b, a; | 30 | int r, g, b, a; |
31 | 31 | ||
32 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 32 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
33 | o_images[i] = o; | 33 | o_images[i] = o; |
34 | a = 256 - (1 << ((rnd() % 8) + 1)); | 34 | a = 256 - (1 << ((rnd() % 8) + 1)); |
35 | if (a < 128) a = 128; | 35 | if (a < 128) a = 128; |
diff --git a/src/bin/rect_solid.c b/src/bin/rect_solid.c index fbd2d46..45f7303 100644 --- a/src/bin/rect_solid.c +++ b/src/bin/rect_solid.c | |||
@@ -26,7 +26,7 @@ static void _setup(void) | |||
26 | { | 26 | { |
27 | int r, g, b, a; | 27 | int r, g, b, a; |
28 | 28 | ||
29 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 29 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
30 | o_images[i] = o; | 30 | o_images[i] = o; |
31 | a = 0xff; | 31 | a = 0xff; |
32 | r = ((rnd()&0xff) * a) / 255; | 32 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/rect_solid_few.c b/src/bin/rect_solid_few.c index 568c011..1577a18 100644 --- a/src/bin/rect_solid_few.c +++ b/src/bin/rect_solid_few.c | |||
@@ -29,7 +29,7 @@ static void _setup(void) | |||
29 | { | 29 | { |
30 | int r, g, b, a; | 30 | int r, g, b, a; |
31 | 31 | ||
32 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 32 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
33 | o_images[i] = o; | 33 | o_images[i] = o; |
34 | a = 0xff; | 34 | a = 0xff; |
35 | r = ((rnd()&0xff) * a) / 255; | 35 | r = ((rnd()&0xff) * a) / 255; |
diff --git a/src/bin/snapshot_widgets_file_icons.c b/src/bin/snapshot_widgets_file_icons.c index 328073a..0cbaa29 100644 --- a/src/bin/snapshot_widgets_file_icons.c +++ b/src/bin/snapshot_widgets_file_icons.c | |||
@@ -54,7 +54,7 @@ static void _setup(void) | |||
54 | { | 54 | { |
55 | Evas_Coord tw, th, cent; | 55 | Evas_Coord tw, th, cent; |
56 | 56 | ||
57 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 57 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
58 | o_images[i] = o; | 58 | o_images[i] = o; |
59 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 59 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
60 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 60 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | efl_gfx_position_set(o, x + 8, y); | 62 | efl_gfx_position_set(o, x + 8, y); |
63 | efl_gfx_visible_set(o, EINA_TRUE); | 63 | efl_gfx_visible_set(o, EINA_TRUE); |
64 | 64 | ||
65 | o = eo_add(EVAS_TEXT_CLASS, evas); | 65 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
66 | o_texts[i] = o; | 66 | o_texts[i] = o; |
67 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 67 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
68 | efl_text_set(o, icons[i % 13]); | 68 | efl_text_set(o, icons[i % 13]); |
@@ -85,7 +85,7 @@ static void _setup(void) | |||
85 | "blur { 5, dst = a, color = '#ff0' }" | 85 | "blur { 5, dst = a, color = '#ff0' }" |
86 | ; | 86 | ; |
87 | 87 | ||
88 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 88 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
89 | o_snap = o; | 89 | o_snap = o; |
90 | efl_gfx_visible_set(o, EINA_TRUE); | 90 | efl_gfx_visible_set(o, EINA_TRUE); |
91 | efl_gfx_position_set(o, 50, 50); | 91 | efl_gfx_position_set(o, 50, 50); |
diff --git a/src/bin/text_basic.c b/src/bin/text_basic.c index 31fa0d5..6c79552 100644 --- a/src/bin/text_basic.c +++ b/src/bin/text_basic.c | |||
@@ -25,7 +25,7 @@ static void _setup(void) | |||
25 | 25 | ||
26 | for (i = 0; i < OBNUM; i++) | 26 | for (i = 0; i < OBNUM; i++) |
27 | { | 27 | { |
28 | o = eo_add(EVAS_TEXT_CLASS, evas); | 28 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
29 | o_texts[i] = o; | 29 | o_texts[i] = o; |
30 | efl_text_properties_font_set(o, "Vera-Bold", 20); | 30 | efl_text_properties_font_set(o, "Vera-Bold", 20); |
31 | efl_text_set(o, "This is a test string"); | 31 | efl_text_set(o, "This is a test string"); |
diff --git a/src/bin/text_change.c b/src/bin/text_change.c index aa7b594..0504a8c 100644 --- a/src/bin/text_change.c +++ b/src/bin/text_change.c | |||
@@ -32,7 +32,7 @@ static void _setup(void) | |||
32 | srnd(); | 32 | srnd(); |
33 | for (i = 0; i < OBNUM; i++) | 33 | for (i = 0; i < OBNUM; i++) |
34 | { | 34 | { |
35 | o = eo_add(EVAS_TEXT_CLASS, evas); | 35 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
36 | o_texts[i] = o; | 36 | o_texts[i] = o; |
37 | efl_text_properties_font_set(o, "Vera-Bold", 20); | 37 | efl_text_properties_font_set(o, "Vera-Bold", 20); |
38 | snprintf(buf, sizeof(buf), "%s %s %s %s.", | 38 | snprintf(buf, sizeof(buf), "%s %s %s %s.", |
diff --git a/src/bin/text_styles.c b/src/bin/text_styles.c index 44c6576..7b925af 100644 --- a/src/bin/text_styles.c +++ b/src/bin/text_styles.c | |||
@@ -27,7 +27,7 @@ static void _setup(void) | |||
27 | st = EVAS_TEXT_STYLE_SHADOW; | 27 | st = EVAS_TEXT_STYLE_SHADOW; |
28 | for (i = 0; i < OBNUM; i++) | 28 | for (i = 0; i < OBNUM; i++) |
29 | { | 29 | { |
30 | o = eo_add(EVAS_TEXT_CLASS, evas); | 30 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
31 | o_texts[i] = o; | 31 | o_texts[i] = o; |
32 | efl_text_properties_font_set(o, "Vera-Bold", 20); | 32 | efl_text_properties_font_set(o, "Vera-Bold", 20); |
33 | efl_text_set(o, "This is a test string"); | 33 | efl_text_set(o, "This is a test string"); |
diff --git a/src/bin/text_styles_different_strings.c b/src/bin/text_styles_different_strings.c index 48e4fd4..b49101f 100644 --- a/src/bin/text_styles_different_strings.c +++ b/src/bin/text_styles_different_strings.c | |||
@@ -34,7 +34,7 @@ static void _setup(void) | |||
34 | st = EVAS_TEXT_STYLE_SHADOW; | 34 | st = EVAS_TEXT_STYLE_SHADOW; |
35 | for (i = 0; i < OBNUM; i++) | 35 | for (i = 0; i < OBNUM; i++) |
36 | { | 36 | { |
37 | o = eo_add(EVAS_TEXT_CLASS, evas); | 37 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
38 | o_texts[i] = o; | 38 | o_texts[i] = o; |
39 | efl_text_properties_font_set(o, "Vera-Bold", 20); | 39 | efl_text_properties_font_set(o, "Vera-Bold", 20); |
40 | snprintf(buf, sizeof(buf), "%s %s %s %s.", | 40 | snprintf(buf, sizeof(buf), "%s %s %s %s.", |
diff --git a/src/bin/textblock_auto_align.c b/src/bin/textblock_auto_align.c index d5d6dac..d2e0048 100644 --- a/src/bin/textblock_auto_align.c +++ b/src/bin/textblock_auto_align.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | Evas_Textblock_Style *st; | 24 | Evas_Textblock_Style *st; |
25 | 25 | ||
26 | o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); | 26 | eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas); |
27 | o_text = o; | 27 | o_text = o; |
28 | st = evas_textblock_style_new(); | 28 | st = evas_textblock_style_new(); |
29 | evas_textblock_style_set | 29 | evas_textblock_style_set |
diff --git a/src/bin/textblock_basic.c b/src/bin/textblock_basic.c index 3b7bb50..d9451fd 100644 --- a/src/bin/textblock_basic.c +++ b/src/bin/textblock_basic.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | Evas_Textblock_Style *st; | 24 | Evas_Textblock_Style *st; |
25 | 25 | ||
26 | o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); | 26 | eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas); |
27 | o_text = o; | 27 | o_text = o; |
28 | st = evas_textblock_style_new(); | 28 | st = evas_textblock_style_new(); |
29 | evas_textblock_style_set | 29 | evas_textblock_style_set |
diff --git a/src/bin/textblock_intl.c b/src/bin/textblock_intl.c index 1768c86..285113d 100644 --- a/src/bin/textblock_intl.c +++ b/src/bin/textblock_intl.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | Evas_Textblock_Style *st; | 24 | Evas_Textblock_Style *st; |
25 | 25 | ||
26 | o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); | 26 | eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas); |
27 | o_text = o; | 27 | o_text = o; |
28 | st = evas_textblock_style_new(); | 28 | st = evas_textblock_style_new(); |
29 | evas_textblock_style_set | 29 | evas_textblock_style_set |
diff --git a/src/bin/textblock_text_append.c b/src/bin/textblock_text_append.c index 3168b76..ddc8ad7 100644 --- a/src/bin/textblock_text_append.c +++ b/src/bin/textblock_text_append.c | |||
@@ -23,7 +23,7 @@ static void _setup(void) | |||
23 | Evas_Object *o; | 23 | Evas_Object *o; |
24 | Evas_Textblock_Style *st; | 24 | Evas_Textblock_Style *st; |
25 | 25 | ||
26 | o = eo_add(EVAS_TEXTBLOCK_CLASS, evas); | 26 | eo_add(&o, EVAS_TEXTBLOCK_CLASS, evas); |
27 | o_text = o; | 27 | o_text = o; |
28 | st = evas_textblock_style_new(); | 28 | st = evas_textblock_style_new(); |
29 | evas_textblock_style_set | 29 | evas_textblock_style_set |
diff --git a/src/bin/ui.c b/src/bin/ui.c index 75c6ec0..7caf36f 100644 --- a/src/bin/ui.c +++ b/src/bin/ui.c | |||
@@ -356,7 +356,7 @@ _ui_menu_item_full_add(Eina_Bool test, | |||
356 | Menu_Item *mi; | 356 | Menu_Item *mi; |
357 | 357 | ||
358 | mi = malloc(sizeof(Menu_Item)); | 358 | mi = malloc(sizeof(Menu_Item)); |
359 | mi->o_icon = eo_add(EVAS_IMAGE_CLASS, evas); | 359 | eo_add(&mi->o_icon, EVAS_IMAGE_CLASS, evas); |
360 | efl_file_set(mi->o_icon, build_path(icon), NULL); | 360 | efl_file_set(mi->o_icon, build_path(icon), NULL); |
361 | efl_gfx_size_set(mi->o_icon, 32, 32); | 361 | efl_gfx_size_set(mi->o_icon, 32, 32); |
362 | efl_gfx_fill_set(mi->o_icon, 0, 0, 32, 32); | 362 | efl_gfx_fill_set(mi->o_icon, 0, 0, 32, 32); |
@@ -385,7 +385,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
385 | win_w = ui_w; | 385 | win_w = ui_w; |
386 | win_h = ui_h; | 386 | win_h = ui_h; |
387 | 387 | ||
388 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 388 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
389 | efl_gfx_position_set(o, 0, 0); | 389 | efl_gfx_position_set(o, 0, 0); |
390 | efl_gfx_size_set(o, win_w, win_h); | 390 | efl_gfx_size_set(o, win_w, win_h); |
391 | efl_gfx_color_set(o, 0, 0, 0, 0); | 391 | efl_gfx_color_set(o, 0, 0, 0, 0); |
@@ -395,7 +395,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
395 | eo_event_callback_array_add(o, ui_callbacks(), NULL); | 395 | eo_event_callback_array_add(o, ui_callbacks(), NULL); |
396 | o_bg = o; | 396 | o_bg = o; |
397 | 397 | ||
398 | o = eo_add(EVAS_RECTANGLE_CLASS, evas); | 398 | eo_add(&o, EVAS_RECTANGLE_CLASS, evas); |
399 | efl_gfx_position_set(o, 0, 0); | 399 | efl_gfx_position_set(o, 0, 0); |
400 | efl_gfx_size_set(o, win_w, win_h); | 400 | efl_gfx_size_set(o, win_w, win_h); |
401 | efl_gfx_color_set(o, 255, 255, 255, 255); | 401 | efl_gfx_color_set(o, 255, 255, 255, 255); |
@@ -403,7 +403,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
403 | efl_gfx_visible_set(o, EINA_TRUE); | 403 | efl_gfx_visible_set(o, EINA_TRUE); |
404 | o_wallpaper = o; | 404 | o_wallpaper = o; |
405 | 405 | ||
406 | o = eo_add(EVAS_TEXT_CLASS, evas); | 406 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
407 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 407 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
408 | efl_text_set(o, "EXPEDITE"); | 408 | efl_text_set(o, "EXPEDITE"); |
409 | efl_gfx_stack_layer_set(o, 100); | 409 | efl_gfx_stack_layer_set(o, 100); |
@@ -416,7 +416,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
416 | efl_gfx_visible_set(o, EINA_TRUE); | 416 | efl_gfx_visible_set(o, EINA_TRUE); |
417 | o_title = o; | 417 | o_title = o; |
418 | 418 | ||
419 | o = eo_add(EVAS_TEXT_CLASS, evas); | 419 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
420 | efl_text_properties_font_set(o, "Vera", 9); | 420 | efl_text_properties_font_set(o, "Vera", 9); |
421 | efl_text_set(o, "LEFT/RIGHT - select, ENTER - select, ESCAPE - exit."); | 421 | efl_text_set(o, "LEFT/RIGHT - select, ENTER - select, ESCAPE - exit."); |
422 | efl_gfx_stack_layer_set(o, 100); | 422 | efl_gfx_stack_layer_set(o, 100); |
@@ -429,7 +429,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
429 | efl_gfx_visible_set(o, EINA_TRUE); | 429 | efl_gfx_visible_set(o, EINA_TRUE); |
430 | o_byline = o; | 430 | o_byline = o; |
431 | 431 | ||
432 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 432 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
433 | efl_gfx_position_set(o, (win_w - 120) / 2, ((win_h - 160) / 2)); | 433 | efl_gfx_position_set(o, (win_w - 120) / 2, ((win_h - 160) / 2)); |
434 | efl_file_set(o, build_path("e-logo.png"), NULL); | 434 | efl_file_set(o, build_path("e-logo.png"), NULL); |
435 | efl_gfx_fill_set(o, 0, 0, 120, 160); | 435 | efl_gfx_fill_set(o, 0, 0, 120, 160); |
@@ -439,21 +439,21 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
439 | efl_gfx_visible_set(o, EINA_TRUE); | 439 | efl_gfx_visible_set(o, EINA_TRUE); |
440 | o_menu_logo = o; | 440 | o_menu_logo = o; |
441 | 441 | ||
442 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 442 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
443 | efl_gfx_position_set(o, win_w - 128, - 128); | 443 | efl_gfx_position_set(o, win_w - 128, - 128); |
444 | efl_gfx_fill_set(o, 0, 0, 256, 256); | 444 | efl_gfx_fill_set(o, 0, 0, 256, 256); |
445 | efl_gfx_size_set(o, 256, 256); | 445 | efl_gfx_size_set(o, 256, 256); |
446 | efl_gfx_visible_set(o, EINA_TRUE); | 446 | efl_gfx_visible_set(o, EINA_TRUE); |
447 | o_menu_icon = o; | 447 | o_menu_icon = o; |
448 | 448 | ||
449 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 449 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
450 | efl_gfx_position_set(o, 0, 0); | 450 | efl_gfx_position_set(o, 0, 0); |
451 | efl_file_set(o, build_path("icon_sel.png"), NULL); | 451 | efl_file_set(o, build_path("icon_sel.png"), NULL); |
452 | efl_gfx_size_set(o, 48, 48); | 452 | efl_gfx_size_set(o, 48, 48); |
453 | efl_gfx_fill_set(o, 0, 0, 48, 48); | 453 | efl_gfx_fill_set(o, 0, 0, 48, 48); |
454 | o_menu_icon_sel = o; | 454 | o_menu_icon_sel = o; |
455 | 455 | ||
456 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 456 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
457 | efl_gfx_position_set(o, 0, 0); | 457 | efl_gfx_position_set(o, 0, 0); |
458 | efl_file_set(o, build_path("text_sel.png"), NULL); | 458 | efl_file_set(o, build_path("text_sel.png"), NULL); |
459 | efl_gfx_size_set(o, 96, 32); | 459 | efl_gfx_size_set(o, 96, 32); |
@@ -461,7 +461,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h) | |||
461 | evas_obj_image_border_set(o, 7, 7, 7, 7); | 461 | evas_obj_image_border_set(o, 7, 7, 7, 7); |
462 | o_menu_text_sel = o; | 462 | o_menu_text_sel = o; |
463 | 463 | ||
464 | o = eo_add(EVAS_TEXT_CLASS, evas); | 464 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
465 | efl_text_properties_font_set(o, "Vera", 10); | 465 | efl_text_properties_font_set(o, "Vera", 10); |
466 | efl_text_set(o, ""); | 466 | efl_text_set(o, ""); |
467 | efl_gfx_color_set(o, 0, 0, 0, 100); | 467 | efl_gfx_color_set(o, 0, 0, 0, 100); |
diff --git a/src/bin/vg_basic_circle.c b/src/bin/vg_basic_circle.c index a06e4ff..fe15b64 100644 --- a/src/bin/vg_basic_circle.c +++ b/src/bin/vg_basic_circle.c | |||
@@ -30,7 +30,7 @@ static void _setup(void) | |||
30 | Eo *vector; | 30 | Eo *vector; |
31 | double r = 35, stroke_w = 3; | 31 | double r = 35, stroke_w = 3; |
32 | 32 | ||
33 | vector = eo_add(EVAS_VG_CLASS, evas); | 33 | eo_add(&vector, EVAS_VG_CLASS, evas); |
34 | o_shapes[i] = vector; | 34 | o_shapes[i] = vector; |
35 | efl_gfx_size_set(vector, r * 2 + stroke_w * 2, r * 2 + stroke_w * 2); | 35 | efl_gfx_size_set(vector, r * 2 + stroke_w * 2, r * 2 + stroke_w * 2); |
36 | efl_gfx_position_set(vector, 0, 0); | 36 | efl_gfx_position_set(vector, 0, 0); |
@@ -38,7 +38,7 @@ static void _setup(void) | |||
38 | 38 | ||
39 | root = evas_obj_vg_root_node_get(vector); | 39 | root = evas_obj_vg_root_node_get(vector); |
40 | 40 | ||
41 | circle = eo_add(EFL_VG_SHAPE_CLASS, root); | 41 | eo_add(&circle, EFL_VG_SHAPE_CLASS, root); |
42 | efl_gfx_shape_append_circle(circle, r + stroke_w, r + stroke_w, r); | 42 | efl_gfx_shape_append_circle(circle, r + stroke_w, r + stroke_w, r); |
43 | efl_gfx_shape_stroke_width_set(circle, stroke_w); | 43 | efl_gfx_shape_stroke_width_set(circle, stroke_w); |
44 | efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128); | 44 | efl_gfx_shape_stroke_color_set(circle, 128, 0, 128, 128); |
diff --git a/src/bin/vg_basic_gradient.c b/src/bin/vg_basic_gradient.c index 1a0a0e9..b3a4a5a 100644 --- a/src/bin/vg_basic_gradient.c +++ b/src/bin/vg_basic_gradient.c | |||
@@ -36,7 +36,7 @@ static void _setup(void) | |||
36 | Eo *vector; | 36 | Eo *vector; |
37 | double w = 70, h = 70, stroke_w = 3; | 37 | double w = 70, h = 70, stroke_w = 3; |
38 | 38 | ||
39 | vector = eo_add(EVAS_VG_CLASS, evas); | 39 | eo_add(&vector, EVAS_VG_CLASS, evas); |
40 | o_shapes[i] = vector; | 40 | o_shapes[i] = vector; |
41 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); | 41 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); |
42 | efl_gfx_position_set(vector, 0, 0); | 42 | efl_gfx_position_set(vector, 0, 0); |
@@ -44,13 +44,13 @@ static void _setup(void) | |||
44 | 44 | ||
45 | root = evas_obj_vg_root_node_get(vector); | 45 | root = evas_obj_vg_root_node_get(vector); |
46 | 46 | ||
47 | gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL); | 47 | eo_add(&gradient, EFL_VG_GRADIENT_LINEAR_CLASS, NULL); |
48 | efl_gfx_gradient_stop_set(gradient, stops, 3); | 48 | efl_gfx_gradient_stop_set(gradient, stops, 3); |
49 | efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT); | 49 | efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT); |
50 | efl_gfx_gradient_linear_start_set(gradient, 10, 10); | 50 | efl_gfx_gradient_linear_start_set(gradient, 10, 10); |
51 | efl_gfx_gradient_linear_end_set(gradient, 50, 50); | 51 | efl_gfx_gradient_linear_end_set(gradient, 50, 50); |
52 | 52 | ||
53 | rect = eo_add(EFL_VG_SHAPE_CLASS, root); | 53 | eo_add(&rect, EFL_VG_SHAPE_CLASS, root); |
54 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); | 54 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); |
55 | efl_vg_shape_fill_set(rect, gradient); | 55 | efl_vg_shape_fill_set(rect, gradient); |
56 | efl_gfx_shape_stroke_width_set(rect, stroke_w); | 56 | efl_gfx_shape_stroke_width_set(rect, stroke_w); |
diff --git a/src/bin/vg_basic_rect.c b/src/bin/vg_basic_rect.c index fa8a21e..15eb735 100644 --- a/src/bin/vg_basic_rect.c +++ b/src/bin/vg_basic_rect.c | |||
@@ -30,7 +30,7 @@ static void _setup(void) | |||
30 | Eo *vector; | 30 | Eo *vector; |
31 | double w = 70, h = 70, stroke_w = 3; | 31 | double w = 70, h = 70, stroke_w = 3; |
32 | 32 | ||
33 | vector = eo_add(EVAS_VG_CLASS, evas); | 33 | eo_add(&vector, EVAS_VG_CLASS, evas); |
34 | o_shapes[i] = vector; | 34 | o_shapes[i] = vector; |
35 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); | 35 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); |
36 | efl_gfx_position_set(vector, 0, 0); | 36 | efl_gfx_position_set(vector, 0, 0); |
@@ -38,7 +38,7 @@ static void _setup(void) | |||
38 | 38 | ||
39 | root = evas_obj_vg_root_node_get(vector); | 39 | root = evas_obj_vg_root_node_get(vector); |
40 | 40 | ||
41 | rect = eo_add(EFL_VG_SHAPE_CLASS, root); | 41 | eo_add(&rect, EFL_VG_SHAPE_CLASS, root); |
42 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); | 42 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); |
43 | efl_gfx_shape_stroke_width_set(rect, stroke_w); | 43 | efl_gfx_shape_stroke_width_set(rect, stroke_w); |
44 | efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128); | 44 | efl_gfx_shape_stroke_color_set(rect, 128, 0, 128, 128); |
diff --git a/src/bin/vg_scaled.c b/src/bin/vg_scaled.c index 6ac272e..eda7213 100644 --- a/src/bin/vg_scaled.c +++ b/src/bin/vg_scaled.c | |||
@@ -36,7 +36,7 @@ static void _setup(void) | |||
36 | Eo *vector; | 36 | Eo *vector; |
37 | double w = 70, h = 70, stroke_w = 3; | 37 | double w = 70, h = 70, stroke_w = 3; |
38 | 38 | ||
39 | vector = eo_add(EVAS_VG_CLASS, evas); | 39 | eo_add(&vector, EVAS_VG_CLASS, evas); |
40 | o_objects[i] = vector; | 40 | o_objects[i] = vector; |
41 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); | 41 | efl_gfx_size_set(vector, w + stroke_w * 2, h + stroke_w * 2); |
42 | efl_gfx_position_set(vector, 0, 0); | 42 | efl_gfx_position_set(vector, 0, 0); |
@@ -44,13 +44,13 @@ static void _setup(void) | |||
44 | 44 | ||
45 | root = evas_obj_vg_root_node_get(vector); | 45 | root = evas_obj_vg_root_node_get(vector); |
46 | 46 | ||
47 | o_gradient[i] = gradient = eo_add(EFL_VG_GRADIENT_LINEAR_CLASS, NULL); | 47 | o_gradient[i] = gradient = eo_add(&gradient, EFL_VG_GRADIENT_LINEAR_CLASS, NULL); |
48 | efl_gfx_gradient_stop_set(gradient, stops, 3); | 48 | efl_gfx_gradient_stop_set(gradient, stops, 3); |
49 | efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT); | 49 | efl_gfx_gradient_spread_set(gradient, EFL_GFX_GRADIENT_SPREAD_REFLECT); |
50 | efl_gfx_gradient_linear_start_set(gradient, 10, 10); | 50 | efl_gfx_gradient_linear_start_set(gradient, 10, 10); |
51 | efl_gfx_gradient_linear_end_set(gradient, 50, 50); | 51 | efl_gfx_gradient_linear_end_set(gradient, 50, 50); |
52 | 52 | ||
53 | o_shapes[i] = rect = eo_add(EFL_VG_SHAPE_CLASS, root); | 53 | o_shapes[i] = rect = eo_add(&rect, EFL_VG_SHAPE_CLASS, root); |
54 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); | 54 | efl_gfx_shape_append_rect(rect, 0 + stroke_w, 0 + stroke_w, w, h, 10, 10); |
55 | efl_vg_shape_fill_set(rect, gradient); | 55 | efl_vg_shape_fill_set(rect, gradient); |
56 | efl_gfx_shape_stroke_width_set(rect, stroke_w); | 56 | efl_gfx_shape_stroke_width_set(rect, stroke_w); |
diff --git a/src/bin/widgets_file_icons.c b/src/bin/widgets_file_icons.c index 25a5dd3..5e7c788 100644 --- a/src/bin/widgets_file_icons.c +++ b/src/bin/widgets_file_icons.c | |||
@@ -46,14 +46,14 @@ static void _setup(void) | |||
46 | Evas_Object *o; | 46 | Evas_Object *o; |
47 | for (i = 0; i < NUM; i++) | 47 | for (i = 0; i < NUM; i++) |
48 | { | 48 | { |
49 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 49 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
50 | o_images[i] = o; | 50 | o_images[i] = o; |
51 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 51 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
54 | efl_gfx_visible_set(o, EINA_TRUE); | 54 | efl_gfx_visible_set(o, EINA_TRUE); |
55 | 55 | ||
56 | o = eo_add(EVAS_TEXT_CLASS, evas); | 56 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
57 | o_texts[i] = o; | 57 | o_texts[i] = o; |
58 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 58 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
59 | efl_text_set(o, icons[i % 13]); | 59 | efl_text_set(o, icons[i % 13]); |
diff --git a/src/bin/widgets_file_icons_2.c b/src/bin/widgets_file_icons_2.c index 03e715b..b7589c1 100644 --- a/src/bin/widgets_file_icons_2.c +++ b/src/bin/widgets_file_icons_2.c | |||
@@ -46,14 +46,14 @@ static void _setup(void) | |||
46 | Evas_Object *o; | 46 | Evas_Object *o; |
47 | for (i = 0; i < NUM; i++) | 47 | for (i = 0; i < NUM; i++) |
48 | { | 48 | { |
49 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 49 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
50 | o_images[i] = o; | 50 | o_images[i] = o; |
51 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 51 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
54 | efl_gfx_visible_set(o, EINA_TRUE); | 54 | efl_gfx_visible_set(o, EINA_TRUE); |
55 | 55 | ||
56 | o = eo_add(EVAS_TEXT_CLASS, evas); | 56 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
57 | o_texts[i] = o; | 57 | o_texts[i] = o; |
58 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 58 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
59 | efl_text_set(o, icons[i % 13]); | 59 | efl_text_set(o, icons[i % 13]); |
diff --git a/src/bin/widgets_file_icons_2_grouped.c b/src/bin/widgets_file_icons_2_grouped.c index 7f14482..45e73c0 100644 --- a/src/bin/widgets_file_icons_2_grouped.c +++ b/src/bin/widgets_file_icons_2_grouped.c | |||
@@ -46,14 +46,14 @@ static void _setup(void) | |||
46 | Evas_Object *o; | 46 | Evas_Object *o; |
47 | for (i = 0; i < NUM; i++) | 47 | for (i = 0; i < NUM; i++) |
48 | { | 48 | { |
49 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 49 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
50 | o_images[i] = o; | 50 | o_images[i] = o; |
51 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 51 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
54 | efl_gfx_visible_set(o, EINA_TRUE); | 54 | efl_gfx_visible_set(o, EINA_TRUE); |
55 | 55 | ||
56 | o = eo_add(EVAS_TEXT_CLASS, evas); | 56 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
57 | o_texts[i] = o; | 57 | o_texts[i] = o; |
58 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 58 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
59 | efl_text_set(o, icons[i % 13]); | 59 | efl_text_set(o, icons[i % 13]); |
diff --git a/src/bin/widgets_file_icons_2_same.c b/src/bin/widgets_file_icons_2_same.c index 113cc5b..2d7d9c3 100644 --- a/src/bin/widgets_file_icons_2_same.c +++ b/src/bin/widgets_file_icons_2_same.c | |||
@@ -31,14 +31,14 @@ static void _setup(void) | |||
31 | Evas_Object *o; | 31 | Evas_Object *o; |
32 | for (i = 0; i < NUM; i++) | 32 | for (i = 0; i < NUM; i++) |
33 | { | 33 | { |
34 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 34 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
35 | o_images[i] = o; | 35 | o_images[i] = o; |
36 | efl_file_set(o, build_path(icons[i % 1]), NULL); | 36 | efl_file_set(o, build_path(icons[i % 1]), NULL); |
37 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 37 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
38 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 38 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
39 | efl_gfx_visible_set(o, EINA_TRUE); | 39 | efl_gfx_visible_set(o, EINA_TRUE); |
40 | 40 | ||
41 | o = eo_add(EVAS_TEXT_CLASS, evas); | 41 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
42 | o_texts[i] = o; | 42 | o_texts[i] = o; |
43 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 43 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
44 | efl_text_set(o, icons[i % 1]); | 44 | efl_text_set(o, icons[i % 1]); |
diff --git a/src/bin/widgets_file_icons_2_same_grouped.c b/src/bin/widgets_file_icons_2_same_grouped.c index 5b631b9..91b81df 100644 --- a/src/bin/widgets_file_icons_2_same_grouped.c +++ b/src/bin/widgets_file_icons_2_same_grouped.c | |||
@@ -31,14 +31,14 @@ static void _setup(void) | |||
31 | Evas_Object *o; | 31 | Evas_Object *o; |
32 | for (i = 0; i < NUM; i++) | 32 | for (i = 0; i < NUM; i++) |
33 | { | 33 | { |
34 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 34 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
35 | o_images[i] = o; | 35 | o_images[i] = o; |
36 | efl_file_set(o, build_path(icons[i % 1]), NULL); | 36 | efl_file_set(o, build_path(icons[i % 1]), NULL); |
37 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 37 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
38 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 38 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
39 | efl_gfx_visible_set(o, EINA_TRUE); | 39 | efl_gfx_visible_set(o, EINA_TRUE); |
40 | 40 | ||
41 | o = eo_add(EVAS_TEXT_CLASS, evas); | 41 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
42 | o_texts[i] = o; | 42 | o_texts[i] = o; |
43 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 43 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
44 | efl_text_set(o, icons[i % 1]); | 44 | efl_text_set(o, icons[i % 1]); |
diff --git a/src/bin/widgets_file_icons_3.c b/src/bin/widgets_file_icons_3.c index be9f393..c76b270 100644 --- a/src/bin/widgets_file_icons_3.c +++ b/src/bin/widgets_file_icons_3.c | |||
@@ -46,14 +46,14 @@ static void _setup(void) | |||
46 | Evas_Object *o; | 46 | Evas_Object *o; |
47 | for (i = 0; i < NUM; i++) | 47 | for (i = 0; i < NUM; i++) |
48 | { | 48 | { |
49 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 49 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
50 | o_images[i] = o; | 50 | o_images[i] = o; |
51 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 51 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
54 | efl_gfx_visible_set(o, EINA_TRUE); | 54 | efl_gfx_visible_set(o, EINA_TRUE); |
55 | 55 | ||
56 | o = eo_add(EVAS_TEXT_CLASS, evas); | 56 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
57 | o_texts[i] = o; | 57 | o_texts[i] = o; |
58 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 58 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
59 | efl_text_set(o, icons[i % 13]); | 59 | efl_text_set(o, icons[i % 13]); |
diff --git a/src/bin/widgets_file_icons_4.c b/src/bin/widgets_file_icons_4.c index a23ce7b..9dcbe53 100644 --- a/src/bin/widgets_file_icons_4.c +++ b/src/bin/widgets_file_icons_4.c | |||
@@ -46,14 +46,14 @@ static void _setup(void) | |||
46 | Evas_Object *o; | 46 | Evas_Object *o; |
47 | for (i = 0; i < NUM; i++) | 47 | for (i = 0; i < NUM; i++) |
48 | { | 48 | { |
49 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 49 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
50 | o_images[i] = o; | 50 | o_images[i] = o; |
51 | efl_file_set(o, build_path(icons[i % 13]), NULL); | 51 | efl_file_set(o, build_path(icons[i % 13]), NULL); |
52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); | 52 | efl_gfx_fill_set(o, 0, 0, ICON_SIZE, ICON_SIZE); |
53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); | 53 | efl_gfx_size_set(o, ICON_SIZE, ICON_SIZE); |
54 | efl_gfx_visible_set(o, EINA_TRUE); | 54 | efl_gfx_visible_set(o, EINA_TRUE); |
55 | 55 | ||
56 | o = eo_add(EVAS_TEXT_CLASS, evas); | 56 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
57 | o_texts[i] = o; | 57 | o_texts[i] = o; |
58 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 58 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
59 | efl_text_set(o, icons[i % 13]); | 59 | efl_text_set(o, icons[i % 13]); |
diff --git a/src/bin/widgets_list_1.c b/src/bin/widgets_list_1.c index b0e9085..9d2f86e 100644 --- a/src/bin/widgets_list_1.c +++ b/src/bin/widgets_list_1.c | |||
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | Evas_Object *o; | 62 | Evas_Object *o; |
63 | for (i = 0; i < NUM; i++) | 63 | for (i = 0; i < NUM; i++) |
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | evas_obj_image_filled_set(o, 1); | 67 | evas_obj_image_filled_set(o, 1); |
68 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 68 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -70,7 +70,7 @@ static void _setup(void) | |||
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 70 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
71 | efl_gfx_visible_set(o, EINA_TRUE); | 71 | efl_gfx_visible_set(o, EINA_TRUE); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 75 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
76 | efl_text_set(o, labels[i % 26]); | 76 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_1_grouped.c b/src/bin/widgets_list_1_grouped.c index 07c9d87..66c992f 100644 --- a/src/bin/widgets_list_1_grouped.c +++ b/src/bin/widgets_list_1_grouped.c | |||
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | Evas_Object *o; | 62 | Evas_Object *o; |
63 | for (i = 0; i < NUM; i++) | 63 | for (i = 0; i < NUM; i++) |
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | evas_obj_image_filled_set(o, 1); | 67 | evas_obj_image_filled_set(o, 1); |
68 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 68 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -70,7 +70,7 @@ static void _setup(void) | |||
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 70 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
71 | efl_gfx_visible_set(o, EINA_TRUE); | 71 | efl_gfx_visible_set(o, EINA_TRUE); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 75 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
76 | efl_text_set(o, labels[i % 26]); | 76 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_2.c b/src/bin/widgets_list_2.c index e232d7d..21a5a4d 100644 --- a/src/bin/widgets_list_2.c +++ b/src/bin/widgets_list_2.c | |||
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | Evas_Object *o; | 62 | Evas_Object *o; |
63 | for (i = 0; i < NUM; i++) | 63 | for (i = 0; i < NUM; i++) |
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | evas_obj_image_filled_set(o, 1); | 67 | evas_obj_image_filled_set(o, 1); |
68 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 68 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -70,7 +70,7 @@ static void _setup(void) | |||
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 70 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
71 | efl_gfx_visible_set(o, EINA_TRUE); | 71 | efl_gfx_visible_set(o, EINA_TRUE); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 75 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
76 | efl_text_set(o, labels[i % 26]); | 76 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_2_grouped.c b/src/bin/widgets_list_2_grouped.c index c3da64a..ab20674 100644 --- a/src/bin/widgets_list_2_grouped.c +++ b/src/bin/widgets_list_2_grouped.c | |||
@@ -62,7 +62,7 @@ static void _setup(void) | |||
62 | Evas_Object *o; | 62 | Evas_Object *o; |
63 | for (i = 0; i < NUM; i++) | 63 | for (i = 0; i < NUM; i++) |
64 | { | 64 | { |
65 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 65 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
66 | o_images[i] = o; | 66 | o_images[i] = o; |
67 | evas_obj_image_filled_set(o, 1); | 67 | evas_obj_image_filled_set(o, 1); |
68 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 68 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -70,7 +70,7 @@ static void _setup(void) | |||
70 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 70 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
71 | efl_gfx_visible_set(o, EINA_TRUE); | 71 | efl_gfx_visible_set(o, EINA_TRUE); |
72 | 72 | ||
73 | o = eo_add(EVAS_TEXT_CLASS, evas); | 73 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
74 | o_texts[i] = o; | 74 | o_texts[i] = o; |
75 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 75 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
76 | efl_text_set(o, labels[i % 26]); | 76 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_3.c b/src/bin/widgets_list_3.c index 8e6af2c..f197e60 100644 --- a/src/bin/widgets_list_3.c +++ b/src/bin/widgets_list_3.c | |||
@@ -83,7 +83,7 @@ static void _setup(void) | |||
83 | Evas_Object *o; | 83 | Evas_Object *o; |
84 | for (i = 0; i < NUM; i++) | 84 | for (i = 0; i < NUM; i++) |
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | evas_obj_image_filled_set(o, 1); | 88 | evas_obj_image_filled_set(o, 1); |
89 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 89 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -91,7 +91,7 @@ static void _setup(void) | |||
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 91 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
92 | efl_gfx_visible_set(o, EINA_TRUE); | 92 | efl_gfx_visible_set(o, EINA_TRUE); |
93 | 93 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 94 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 95 | o_icons[i] = o; |
96 | evas_obj_image_filled_set(o, 1); | 96 | evas_obj_image_filled_set(o, 1); |
97 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 97 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -99,7 +99,7 @@ static void _setup(void) | |||
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
100 | efl_gfx_visible_set(o, EINA_TRUE); | 100 | efl_gfx_visible_set(o, EINA_TRUE); |
101 | 101 | ||
102 | o = eo_add(EVAS_TEXT_CLASS, evas); | 102 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
103 | o_texts[i] = o; | 103 | o_texts[i] = o; |
104 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 104 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
105 | efl_text_set(o, labels[i % 26]); | 105 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_3_grouped.c b/src/bin/widgets_list_3_grouped.c index dda2692..b6f3bcc 100644 --- a/src/bin/widgets_list_3_grouped.c +++ b/src/bin/widgets_list_3_grouped.c | |||
@@ -83,7 +83,7 @@ static void _setup(void) | |||
83 | Evas_Object *o; | 83 | Evas_Object *o; |
84 | for (i = 0; i < NUM; i++) | 84 | for (i = 0; i < NUM; i++) |
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | evas_obj_image_filled_set(o, 1); | 88 | evas_obj_image_filled_set(o, 1); |
89 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 89 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -91,7 +91,7 @@ static void _setup(void) | |||
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 91 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
92 | efl_gfx_visible_set(o, EINA_TRUE); | 92 | efl_gfx_visible_set(o, EINA_TRUE); |
93 | 93 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 94 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 95 | o_icons[i] = o; |
96 | evas_obj_image_filled_set(o, 1); | 96 | evas_obj_image_filled_set(o, 1); |
97 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 97 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -99,7 +99,7 @@ static void _setup(void) | |||
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
100 | efl_gfx_visible_set(o, EINA_TRUE); | 100 | efl_gfx_visible_set(o, EINA_TRUE); |
101 | 101 | ||
102 | o = eo_add(EVAS_TEXT_CLASS, evas); | 102 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
103 | o_texts[i] = o; | 103 | o_texts[i] = o; |
104 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 104 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
105 | efl_text_set(o, labels[i % 26]); | 105 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_4.c b/src/bin/widgets_list_4.c index 2779b63..cb65a59 100644 --- a/src/bin/widgets_list_4.c +++ b/src/bin/widgets_list_4.c | |||
@@ -83,7 +83,7 @@ static void _setup(void) | |||
83 | Evas_Object *o; | 83 | Evas_Object *o; |
84 | for (i = 0; i < NUM; i++) | 84 | for (i = 0; i < NUM; i++) |
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | evas_obj_image_filled_set(o, 1); | 88 | evas_obj_image_filled_set(o, 1); |
89 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 89 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -91,7 +91,7 @@ static void _setup(void) | |||
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 91 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
92 | efl_gfx_visible_set(o, EINA_TRUE); | 92 | efl_gfx_visible_set(o, EINA_TRUE); |
93 | 93 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 94 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 95 | o_icons[i] = o; |
96 | evas_obj_image_filled_set(o, 1); | 96 | evas_obj_image_filled_set(o, 1); |
97 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 97 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -99,7 +99,7 @@ static void _setup(void) | |||
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
100 | efl_gfx_visible_set(o, EINA_TRUE); | 100 | efl_gfx_visible_set(o, EINA_TRUE); |
101 | 101 | ||
102 | o = eo_add(EVAS_TEXT_CLASS, evas); | 102 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
103 | o_texts[i] = o; | 103 | o_texts[i] = o; |
104 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 104 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
105 | efl_text_set(o, labels[i % 26]); | 105 | efl_text_set(o, labels[i % 26]); |
diff --git a/src/bin/widgets_list_4_grouped.c b/src/bin/widgets_list_4_grouped.c index 8283151..56face9 100644 --- a/src/bin/widgets_list_4_grouped.c +++ b/src/bin/widgets_list_4_grouped.c | |||
@@ -83,7 +83,7 @@ static void _setup(void) | |||
83 | Evas_Object *o; | 83 | Evas_Object *o; |
84 | for (i = 0; i < NUM; i++) | 84 | for (i = 0; i < NUM; i++) |
85 | { | 85 | { |
86 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 86 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
87 | o_images[i] = o; | 87 | o_images[i] = o; |
88 | evas_obj_image_filled_set(o, 1); | 88 | evas_obj_image_filled_set(o, 1); |
89 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 89 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -91,7 +91,7 @@ static void _setup(void) | |||
91 | efl_gfx_size_set(o, win_w, ICON_SIZE); | 91 | efl_gfx_size_set(o, win_w, ICON_SIZE); |
92 | efl_gfx_visible_set(o, EINA_TRUE); | 92 | efl_gfx_visible_set(o, EINA_TRUE); |
93 | 93 | ||
94 | o = eo_add(EVAS_IMAGE_CLASS, evas); | 94 | eo_add(&o, EVAS_IMAGE_CLASS, evas); |
95 | o_icons[i] = o; | 95 | o_icons[i] = o; |
96 | evas_obj_image_filled_set(o, 1); | 96 | evas_obj_image_filled_set(o, 1); |
97 | evas_obj_image_border_set(o, 2, 2, 2, 2); | 97 | evas_obj_image_border_set(o, 2, 2, 2, 2); |
@@ -99,7 +99,7 @@ static void _setup(void) | |||
99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); | 99 | efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8); |
100 | efl_gfx_visible_set(o, EINA_TRUE); | 100 | efl_gfx_visible_set(o, EINA_TRUE); |
101 | 101 | ||
102 | o = eo_add(EVAS_TEXT_CLASS, evas); | 102 | eo_add(&o, EVAS_TEXT_CLASS, evas); |
103 | o_texts[i] = o; | 103 | o_texts[i] = o; |
104 | efl_text_properties_font_set(o, "Vera-Bold", 10); | 104 | efl_text_properties_font_set(o, "Vera-Bold", 10); |
105 | efl_text_set(o, labels[i % 26]); | 105 | efl_text_set(o, labels[i % 26]); |