Compare commits

...

13 Commits

Author SHA1 Message Date
Hermet Park 44de6c5b7b text_style_different_string: increase a factor to update animation properly. 3 years ago
Hermet Park 75a808e226 add one more resolution item. 3 years ago
Hermet Park 4d683b635e compare list item count properly, 3 years ago
Hermet Park 433b9e3833 image_blend_occlude_few: increase a factor to update animation properly. 3 years ago
Hermet Park 7d95c2f730 textblock_intl: increase a factor to update animation properly. 3 years ago
Hermet Park 5fe5110067 textblock_basic: increase an factor to update animation properly. 3 years ago
Hermet Park 91ce527eb4 add a resolution option 720p-p 3 years ago
Hermet Park 1804ba6a5b Setup before starting fps measurement 3 years ago
Hermet Park c54e4b7cdc ui: remove menu icon. 3 years ago
Jean-Philippe Andre 7aca5a4908 UI main loop: Fix indentation 8 years ago
Jean-Philippe Andre 08eccb3e60 Fix support of --count from command line 8 years ago
Cedric BAIL a048b7a762 fix wrong ordering of report. 9 years ago
Cedric BAIL 459f59169e fix build on 1.8.x branch. 9 years ago
  1. 4
      src/bin/about.c
  2. 2
      src/bin/expedite-cmp
  3. 8
      src/bin/font_effect_blur_alpha.c
  4. 9
      src/bin/font_effect_blur_color.c
  5. 4
      src/bin/image_blend_border.c
  6. 4
      src/bin/image_blend_border_recolor.c
  7. 4
      src/bin/image_blend_fade_pow2_unscaled.c
  8. 4
      src/bin/image_blend_fade_unscaled.c
  9. 4
      src/bin/image_blend_many_smooth_same_scaled.c
  10. 4
      src/bin/image_blend_nearest_same_scaled.c
  11. 4
      src/bin/image_blend_nearest_scaled.c
  12. 4
      src/bin/image_blend_nearest_solid_same_scaled.c
  13. 4
      src/bin/image_blend_nearest_solid_scaled.c
  14. 4
      src/bin/image_blend_occlude1.c
  15. 10
      src/bin/image_blend_occlude1_few.c
  16. 4
      src/bin/image_blend_occlude1_many.c
  17. 4
      src/bin/image_blend_occlude1_very_many.c
  18. 4
      src/bin/image_blend_occlude2.c
  19. 10
      src/bin/image_blend_occlude2_few.c
  20. 4
      src/bin/image_blend_occlude2_many.c
  21. 4
      src/bin/image_blend_occlude2_very_many.c
  22. 4
      src/bin/image_blend_occlude3.c
  23. 12
      src/bin/image_blend_occlude3_few.c
  24. 4
      src/bin/image_blend_occlude3_many.c
  25. 4
      src/bin/image_blend_occlude3_very_many.c
  26. 4
      src/bin/image_blend_smooth_same_scaled.c
  27. 4
      src/bin/image_blend_smooth_scaled.c
  28. 4
      src/bin/image_blend_smooth_solid_same_scaled.c
  29. 4
      src/bin/image_blend_smooth_solid_scaled.c
  30. 4
      src/bin/image_blend_solid_border.c
  31. 4
      src/bin/image_blend_solid_fade_pow2_unscaled.c
  32. 4
      src/bin/image_blend_solid_fade_unscaled.c
  33. 4
      src/bin/image_blend_solid_middle_border.c
  34. 4
      src/bin/image_blend_solid_middle_unscaled.c
  35. 4
      src/bin/image_blend_solid_unscaled.c
  36. 4
      src/bin/image_blend_unscaled.c
  37. 6
      src/bin/image_crossfade.c
  38. 6
      src/bin/image_data_argb.c
  39. 6
      src/bin/image_data_argb_alpha.c
  40. 2
      src/bin/image_data_ycbcr601pl.c
  41. 4
      src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
  42. 2
      src/bin/image_data_ycbcr601pl_map_solid_rotate.c
  43. 4
      src/bin/image_data_ycbcr601pl_wide_stride.c
  44. 2
      src/bin/image_map_3d_1.c
  45. 2
      src/bin/image_map_3d_2.c
  46. 2
      src/bin/image_map_3d_3.c
  47. 2
      src/bin/image_map_3d_4.c
  48. 2
      src/bin/image_map_3d_5.c
  49. 2
      src/bin/image_map_3d_6.c
  50. 4
      src/bin/image_map_3d_flow.c
  51. 2
      src/bin/image_map_color_alpha_nearest_rotate.c
  52. 2
      src/bin/image_map_color_alpha_nearest_solid_rotate.c
  53. 2
      src/bin/image_map_color_alpha_rotate.c
  54. 2
      src/bin/image_map_color_alpha_solid_rotate.c
  55. 2
      src/bin/image_map_color_nearest_rotate.c
  56. 2
      src/bin/image_map_color_nearest_solid_rotate.c
  57. 2
      src/bin/image_map_color_rotate.c
  58. 2
      src/bin/image_map_color_solid_rotate.c
  59. 2
      src/bin/image_map_nearest_rotate.c
  60. 2
      src/bin/image_map_nearest_solid_rotate.c
  61. 2
      src/bin/image_map_rotate.c
  62. 2
      src/bin/image_map_solid_rotate.c
  63. 4
      src/bin/image_quality_scale.c
  64. 4
      src/bin/line_blend.c
  65. 9
      src/bin/main.c
  66. 3
      src/bin/main.h
  67. 4
      src/bin/poly_blend.c
  68. 10
      src/bin/proxy_image.c
  69. 6
      src/bin/proxy_image_offscreen.c
  70. 12
      src/bin/proxy_text_fixed.c
  71. 14
      src/bin/proxy_text_random.c
  72. 4
      src/bin/rect_blend.c
  73. 4
      src/bin/rect_blend_few.c
  74. 4
      src/bin/rect_blend_pow2.c
  75. 4
      src/bin/rect_blend_pow2_few.c
  76. 4
      src/bin/rect_solid.c
  77. 4
      src/bin/rect_solid_few.c
  78. 6
      src/bin/text_basic.c
  79. 8
      src/bin/text_change.c
  80. 6
      src/bin/text_styles.c
  81. 12
      src/bin/text_styles_different_strings.c
  82. 4
      src/bin/textblock_auto_align.c
  83. 7
      src/bin/textblock_basic.c
  84. 7
      src/bin/textblock_intl.c
  85. 8
      src/bin/textblock_text_append.c
  86. 92
      src/bin/ui.c
  87. 8
      src/bin/widgets_file_icons.c
  88. 8
      src/bin/widgets_file_icons_2.c
  89. 8
      src/bin/widgets_file_icons_2_grouped.c
  90. 8
      src/bin/widgets_file_icons_2_same.c
  91. 8
      src/bin/widgets_file_icons_2_same_grouped.c
  92. 8
      src/bin/widgets_file_icons_3.c
  93. 8
      src/bin/widgets_file_icons_4.c
  94. 8
      src/bin/widgets_list_1.c
  95. 8
      src/bin/widgets_list_1_grouped.c
  96. 8
      src/bin/widgets_list_2.c
  97. 8
      src/bin/widgets_list_2_grouped.c
  98. 10
      src/bin/widgets_list_3.c
  99. 10
      src/bin/widgets_list_3_grouped.c
  100. 10
      src/bin/widgets_list_4.c
  101. Some files were not shown because too many files have changed in this diff Show More

@ -8,7 +8,7 @@ _setup(void)
Evas_Object *o;
Evas_Textblock_Style *st;
o = eo_add(EVAS_TEXTBLOCK_CLASS, evas);
o = eo_add(EVAS_OBJ_TEXTBLOCK_CLASS, evas);
eo_do(o, evas_obj_position_set(10, 40),
evas_obj_size_set(win_w - 20, win_h - 50),
evas_obj_visibility_set(EINA_TRUE));
@ -73,6 +73,6 @@ _key(char *key)
void
about_start(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}

@ -1,4 +1,4 @@
#!/usr/bin/env python
#!/usr/bin/env python2
import sys
import os

@ -1,3 +1,7 @@
#include <Evas.h>
#if EVAS_VERSION_MAJOR >= 1 && EVAS_VERSION_MINOR >= 9
#undef FNAME
#undef NAME
#undef ICON
@ -90,11 +94,13 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif
#undef FNAME
#undef NAME
#undef ICON
#endif

@ -1,3 +1,7 @@
#include <Evas.h>
#if EVAS_VERSION_MAJOR >= 1 && EVAS_VERSION_MINOR >= 9
#undef FNAME
#undef NAME
#undef ICON
@ -92,11 +96,14 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif
#undef FNAME
#undef NAME
#undef ICON
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("bar.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("pan.png"), NULL),
@ -97,8 +97,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -98,8 +98,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -24,7 +24,7 @@ static void _setup(void)
for (i = 0; i < OBNUM; i++)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
eo_do(o,
@ -95,8 +95,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -25,7 +25,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < MANYNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
n = rnd() % 100;
w = 3 + ((n * (60 - 3)) / 100);
@ -97,8 +97,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -109,8 +109,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -61,6 +61,7 @@ static void _cleanup(void)
/* loop - do things */
static void _loop(double t, int f)
{
static int k = 0;
int i;
Evas_Coord x, y, w, h;
for (i = 0; i < OBNUM; i++)
@ -70,12 +71,13 @@ static void _loop(double t, int f)
w = 120;
h = 160;
x = (win_w / 2) - (w / 2);
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
x += sin((double)(f + ((i + k) * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
y += cos((double)(f + ((i + k) * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], evas_obj_position_set(x, y));
}
}
++k;
FPS_STD(NAME);
}
@ -112,8 +114,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -109,8 +109,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -61,6 +61,7 @@ static void _cleanup(void)
/* loop - do things */
static void _loop(double t, int f)
{
static int k = 0;
int i;
Evas_Coord x, y, w, h;
for (i = 0; i < OBNUM; i++)
@ -70,12 +71,13 @@ static void _loop(double t, int f)
w = 120;
h = 160;
x = (win_w / 2) - (w / 2);
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
x += sin((double)(f + ((i + k) * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
y += cos((double)(f + ((i + k) * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], evas_obj_position_set(x, y));
}
}
k++;
FPS_STD(NAME);
}
@ -112,8 +114,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -24,7 +24,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -109,8 +109,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -61,21 +61,23 @@ static void _cleanup(void)
/* loop - do things */
static void _loop(double t, int f)
{
static int k = 0;
int i;
Evas_Coord x, y, w, h;
for (i = 0; i < OBNUM; i++)
{
if (i > (OBNUM / 2))
if (i < (OBNUM / 2))
{
w = 120;
h = 160;
x = (win_w / 2) - (w / 2);
x += sin((double)(f + (i * 13)) / (36.7 * SLOW)) * (w / 2);
x += sin((double)(f + ((i + k) * 13)) / (36.7 * SLOW)) * (w / 2);
y = (win_h / 2) - (h / 2);
y += cos((double)(f + (i * 28)) / (43.8 * SLOW)) * (h / 2);
y += cos((double)(f + ((i + k) * 28)) / (43.8 * SLOW)) * (h / 2);
eo_do(o_images[i], evas_obj_position_set(x, y));
}
}
++k;
FPS_STD(NAME);
}
@ -112,8 +114,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
srnd();
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -112,8 +112,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("frame.png"), NULL),
@ -96,8 +96,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -98,8 +98,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -97,8 +97,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("bar.png"), NULL),
@ -97,8 +97,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -94,8 +94,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("image.png"), NULL),
@ -92,8 +92,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -23,7 +23,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < OBNUM; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_file_set(build_path("logo.png"), NULL),
@ -92,8 +92,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -22,7 +22,7 @@ static void _setup(void)
{
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[0] = o;
eo_do(o,
evas_obj_image_file_set(build_path("im1.png"), NULL),
@ -30,7 +30,7 @@ static void _setup(void)
evas_obj_size_set(720, 420),
evas_obj_visibility_set(EINA_TRUE));
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[1] = o;
eo_do(o,
evas_obj_image_file_set(build_path("im2.png"), NULL),
@ -92,8 +92,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
@ -62,8 +62,8 @@ static void _loop(double t, int f)
evas_obj_position_set(x, y),
evas_obj_size_set(w, h),
evas_obj_image_fill_set(0, 0, w, h),
data = evas_obj_image_data_get(1),
st = evas_obj_image_stride_get());
evas_obj_image_data_get(1, &data),
evas_obj_image_stride_get(&st));
st = st >> 2;
p = data;
for (y = 0; y < h; y++)

@ -24,7 +24,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
@ -62,8 +62,8 @@ static void _loop(double t, int f)
evas_obj_position_set(x, y),
evas_obj_size_set(w, h),
evas_obj_image_fill_set(0, 0, w, h),
data = evas_obj_image_data_get(1),
st = evas_obj_image_stride_get());
evas_obj_image_data_get(1, &data),
evas_obj_image_stride_get(&st));
st = st >> 2;
p = data;
for (y = 0; y < h; y++)

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
@ -140,8 +140,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),

@ -27,7 +27,7 @@ static void _setup(void)
Evas_Object *o;
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
o_images[i] = o;
eo_do(o,
evas_obj_image_content_hint_set(EVAS_IMAGE_CONTENT_HINT_DYNAMIC),
@ -170,8 +170,8 @@ void FNAME(void);
# ifndef UI
void FNAME(void)
{
ui_func_set(_key, _loop);
_setup();
ui_func_set(_key, _loop);
}
# endif
#endif

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
eo_do(o,

@ -54,7 +54,7 @@ _cube_new(Evas_Coord w, Evas_Coord h, Evas_Coord d)
{
Evas_Object *o;
char buf[256];
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EVAS_OBJ_IMAGE_CLASS, evas);
c->side[i].o = o;