Fix compilation for git master (1.18-alpha)

devs/lauromoura/reporting
Jean-Philippe Andre 7 years ago
parent e79517e490
commit 95d6a6cd9a
  1. 10
      src/bin/about.c
  2. 2
      src/bin/font_effect_blur_alpha.c
  3. 2
      src/bin/font_effect_blur_color.c
  4. 4
      src/bin/image_blend_border.c
  5. 4
      src/bin/image_blend_border_recolor.c
  6. 4
      src/bin/image_blend_fade_pow2_unscaled.c
  7. 4
      src/bin/image_blend_fade_unscaled.c
  8. 4
      src/bin/image_blend_many_smooth_same_scaled.c
  9. 4
      src/bin/image_blend_nearest_same_scaled.c
  10. 4
      src/bin/image_blend_nearest_scaled.c
  11. 4
      src/bin/image_blend_nearest_solid_same_scaled.c
  12. 4
      src/bin/image_blend_nearest_solid_scaled.c
  13. 4
      src/bin/image_blend_occlude1.c
  14. 4
      src/bin/image_blend_occlude1_few.c
  15. 4
      src/bin/image_blend_occlude1_many.c
  16. 4
      src/bin/image_blend_occlude1_very_many.c
  17. 4
      src/bin/image_blend_occlude2.c
  18. 4
      src/bin/image_blend_occlude2_few.c
  19. 4
      src/bin/image_blend_occlude2_many.c
  20. 4
      src/bin/image_blend_occlude2_very_many.c
  21. 4
      src/bin/image_blend_occlude3.c
  22. 4
      src/bin/image_blend_occlude3_few.c
  23. 4
      src/bin/image_blend_occlude3_many.c
  24. 4
      src/bin/image_blend_occlude3_very_many.c
  25. 4
      src/bin/image_blend_smooth_same_scaled.c
  26. 4
      src/bin/image_blend_smooth_scaled.c
  27. 4
      src/bin/image_blend_smooth_solid_same_scaled.c
  28. 4
      src/bin/image_blend_smooth_solid_scaled.c
  29. 4
      src/bin/image_blend_solid_border.c
  30. 4
      src/bin/image_blend_solid_fade_pow2_unscaled.c
  31. 4
      src/bin/image_blend_solid_fade_unscaled.c
  32. 4
      src/bin/image_blend_solid_middle_border.c
  33. 4
      src/bin/image_blend_solid_middle_unscaled.c
  34. 4
      src/bin/image_blend_solid_unscaled.c
  35. 4
      src/bin/image_blend_unscaled.c
  36. 6
      src/bin/image_crossfade.c
  37. 4
      src/bin/image_data_argb.c
  38. 4
      src/bin/image_data_argb_alpha.c
  39. 4
      src/bin/image_data_ycbcr601pl.c
  40. 8
      src/bin/image_data_ycbcr601pl_map_nearest_solid_rotate.c
  41. 8
      src/bin/image_data_ycbcr601pl_map_solid_rotate.c
  42. 4
      src/bin/image_data_ycbcr601pl_wide_stride.c
  43. 8
      src/bin/image_map_3d_1.c
  44. 8
      src/bin/image_map_3d_2.c
  45. 8
      src/bin/image_map_3d_3.c
  46. 8
      src/bin/image_map_3d_4.c
  47. 8
      src/bin/image_map_3d_5.c
  48. 8
      src/bin/image_map_3d_6.c
  49. 14
      src/bin/image_map_3d_flow.c
  50. 8
      src/bin/image_map_color_alpha_nearest_rotate.c
  51. 8
      src/bin/image_map_color_alpha_nearest_solid_rotate.c
  52. 8
      src/bin/image_map_color_alpha_rotate.c
  53. 8
      src/bin/image_map_color_alpha_solid_rotate.c
  54. 8
      src/bin/image_map_color_nearest_rotate.c
  55. 8
      src/bin/image_map_color_nearest_solid_rotate.c
  56. 8
      src/bin/image_map_color_rotate.c
  57. 8
      src/bin/image_map_color_solid_rotate.c
  58. 8
      src/bin/image_map_nearest_rotate.c
  59. 8
      src/bin/image_map_nearest_solid_rotate.c
  60. 8
      src/bin/image_map_rotate.c
  61. 8
      src/bin/image_map_solid_rotate.c
  62. 8
      src/bin/image_mask.c
  63. 12
      src/bin/image_mask_10.c
  64. 12
      src/bin/image_mask_11.c
  65. 8
      src/bin/image_mask_12.c
  66. 8
      src/bin/image_mask_13.c
  67. 8
      src/bin/image_mask_2.c
  68. 8
      src/bin/image_mask_3.c
  69. 8
      src/bin/image_mask_4.c
  70. 8
      src/bin/image_mask_5.c
  71. 8
      src/bin/image_mask_6.c
  72. 8
      src/bin/image_mask_7.c
  73. 8
      src/bin/image_mask_8.c
  74. 12
      src/bin/image_mask_9.c
  75. 4
      src/bin/image_quality_scale.c
  76. 2
      src/bin/line_blend.c
  77. 2
      src/bin/poly_blend.c
  78. 4
      src/bin/proxy_image.c
  79. 4
      src/bin/proxy_image_offscreen.c
  80. 2
      src/bin/proxy_text_fixed.c
  81. 2
      src/bin/proxy_text_random.c
  82. 2
      src/bin/rect_blend.c
  83. 2
      src/bin/rect_blend_few.c
  84. 2
      src/bin/rect_blend_pow2.c
  85. 2
      src/bin/rect_blend_pow2_few.c
  86. 2
      src/bin/rect_solid.c
  87. 2
      src/bin/rect_solid_few.c
  88. 4
      src/bin/snapshot_widgets_file_icons.c
  89. 2
      src/bin/text_basic.c
  90. 2
      src/bin/text_change.c
  91. 2
      src/bin/text_styles.c
  92. 2
      src/bin/text_styles_different_strings.c
  93. 12
      src/bin/textblock_auto_align.c
  94. 10
      src/bin/textblock_basic.c
  95. 12
      src/bin/textblock_intl.c
  96. 14
      src/bin/textblock_text_append.c
  97. 108
      src/bin/ui.c
  98. 2
      src/bin/ui.h
  99. 4
      src/bin/vg_basic_circle.c
  100. 4
      src/bin/vg_basic_gradient.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 = evas_object_textblock_add(evas);
efl_gfx_position_set(o, 10, 40);
efl_gfx_size_set(o, win_w - 20, win_h - 50);
efl_gfx_visible_set(o, EINA_TRUE);
@ -21,9 +21,9 @@ _setup(void)
"p='+ font=Vera font_size=10 align=left'"
"/p='- \n \n'"
);
evas_obj_textblock_style_set(o, st);
evas_obj_textblock_clear(o);
evas_obj_textblock_text_markup_set
evas_object_textblock_style_set(o, st);
evas_object_textblock_clear(o);
evas_object_textblock_text_markup_set
(o, "<center>"
"Enlightenment used to be a window manager project, but "
"since has changed a lot to become a miniature desktop and mobile "
@ -60,7 +60,7 @@ _loop(double t EINA_UNUSED,
}
static void
_key(char *key)
_key(const char *key)
{
if ((!strcmp(key, "Escape")) || (!strcmp(key, "q")) || (!strcmp(key, "Q")))
{

@ -60,7 +60,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
efl_image_border_set(o, 6, 6, 6, 6);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_color_set(o, 64, 64, 64, 255);
@ -63,7 +63,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -64,7 +64,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
a = rnd()&0xff;
efl_file_set(o, build_path("logo.png"), NULL);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
n = rnd() % 100;
w = 3 + ((n * (60 - 3)) / 100);
@ -64,7 +64,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 0);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 0);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -75,7 +75,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i < (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -75,7 +75,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i & 0x1)
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -75,7 +75,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
if (i > (OBNUM / 2))
{
@ -78,7 +78,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_image_smooth_scale_set(o, 1);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_image_smooth_scale_set(o, 1);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("frame.png"), NULL);
efl_image_border_set(o, 8, 8, 8, 8);
@ -62,7 +62,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -64,7 +64,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -25,7 +25,7 @@ static void _setup(void)
{
int a;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -63,7 +63,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
efl_image_border_set(o, 6, 6, 6, 6);
@ -63,7 +63,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -61,7 +61,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("image.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -59,7 +59,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
@ -59,7 +59,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -22,14 +22,14 @@ static void _setup(void)
{
Evas_Object *o;
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[0] = o;
efl_file_set(o, build_path("im1.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
efl_gfx_size_set(o, 720, 420);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[1] = o;
efl_file_set(o, build_path("im2.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 720, 420);
@ -58,7 +58,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -27,7 +27,7 @@ static void _setup(void)
pixels = malloc(sizeof (int) * 640 * 480);
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 0);
@ -91,7 +91,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -27,7 +27,7 @@ static void _setup(void)
pixels = malloc(sizeof (int) * 640 * 480);
for (i = 0; i < 1; i++)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o = eo_add(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 1);
@ -102,7 +102,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 0);
@ -104,7 +104,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 0);
@ -100,14 +100,14 @@ static void _loop(double t, int f)
evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
evas_obj_map_enable_set(o_images[i], 1);
evas_obj_map_set(o_images[i], m);
evas_object_map_enable_set(o_images[i], 1);
evas_object_map_set(o_images[i], m);
}
FPS_STD(NAME);
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 0);
@ -98,14 +98,14 @@ static void _loop(double t, int f)
evas_map_util_rotate(m, f, x + (w / 2), y + (h / 2));
evas_obj_map_enable_set(o_images[i], 1);
evas_obj_map_set(o_images[i], m);
evas_object_map_enable_set(o_images[i], 1);
evas_object_map_set(o_images[i], m);
}
FPS_STD(NAME);
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_image_content_hint_set(o, EVAS_IMAGE_CONTENT_HINT_DYNAMIC);
efl_gfx_buffer_alpha_set(o, 0);
@ -130,7 +130,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);
@ -130,8 +130,8 @@ _cube_pos(Cube *c,
evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
if (evas_map_util_clockwise_get(m))
{
evas_obj_map_enable_set(c->side[i].o, 1);
evas_obj_map_set(c->side[i].o, m);
evas_object_map_enable_set(c->side[i].o, 1);
evas_object_map_set(c->side[i].o, m);
efl_gfx_visible_set(c->side[i].o, EINA_TRUE);
}
else
@ -219,7 +219,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);
@ -128,8 +128,8 @@ _cube_pos(Cube *c,
evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
if (evas_map_util_clockwise_get(m))
{
evas_obj_map_enable_set(c->side[i].o, 1);
evas_obj_map_set(c->side[i].o, m);
evas_object_map_enable_set(c->side[i].o, 1);
evas_object_map_set(c->side[i].o, m);
efl_gfx_visible_set(c->side[i].o, EINA_TRUE);
}
else
@ -217,7 +217,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);
@ -128,8 +128,8 @@ _cube_pos(Cube *c,
255, 255, 255,
20, 20, 20);
evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
evas_obj_map_enable_set(c->side[i].o, 1);
evas_obj_map_set(c->side[i].o, m);
evas_object_map_enable_set(c->side[i].o, 1);
evas_object_map_set(c->side[i].o, m);
order[i] = i;
for (j = 0; j < 4; j++)
@ -211,7 +211,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "cube%i.png", i + 1);
efl_file_set(o, build_path(buf), NULL);
@ -126,8 +126,8 @@ _cube_pos(Cube *c,
255, 255, 255,
20, 20, 20);
evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), 0, 512);
evas_obj_map_enable_set(c->side[i].o, 1);
evas_obj_map_set(c->side[i].o, m);
evas_object_map_enable_set(c->side[i].o, 1);
evas_object_map_set(c->side[i].o, m);
order[i] = i;
for (j = 0; j < 4; j++)
@ -209,7 +209,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void _key(const char *key)
{
KEY_STD;
}

@ -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(EFL_CANVAS_IMAGE_CLASS, evas);
c->side[i].o = o;
snprintf(buf, sizeof(buf), "im%i.png", (i % 2) + 1);
efl_file_set(o, build_path(buf), NULL);
@ -130,8 +130,8 @@ _cube_pos(Cube *c,
evas_map_util_3d_perspective(m, (win_w / 2), (win_h / 2), -360, 720);
if (evas_map_util_clockwise_get(m))
{
evas_obj_map_enable_set(c->side[i].o, 1);
evas_obj_map_set(c->side[i].o, m);
evas_object_map_enable_set(c->side[i].o, 1);
evas_object_map_set(c->side[i].o, m);
efl_gfx_visible_set(c->side[i].o, EINA_TRUE);
}
else
@ -199,7 +199,7 @@ static void _loop(double t, int f)
}
/* prepend special key handlers if interactive (before STD) */
static void _key(char *key)
static void