migrate to new efl api.

devs/lauromoura/reporting
Cedric BAIL 7 years ago
parent 24eca8a778
commit 051a4ec0cf
  1. 2
      src/bin/image_blend_border.c
  2. 2
      src/bin/image_blend_border_recolor.c
  3. 2
      src/bin/image_blend_solid_border.c
  4. 4
      src/bin/image_blend_solid_middle_border.c
  5. 4
      src/bin/image_blend_solid_middle_unscaled.c
  6. 2
      src/bin/ui.c
  7. 4
      src/bin/widgets_list_1.c
  8. 4
      src/bin/widgets_list_1_grouped.c
  9. 4
      src/bin/widgets_list_2.c
  10. 4
      src/bin/widgets_list_2_grouped.c
  11. 8
      src/bin/widgets_list_3.c
  12. 8
      src/bin/widgets_list_3_grouped.c
  13. 8
      src/bin/widgets_list_4.c
  14. 8
      src/bin/widgets_list_4_grouped.c

@ -26,7 +26,7 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
evas_obj_image_border_set(o, 6, 6, 6, 6);
efl_image_border_set(o, 6, 6, 6, 6);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;

@ -27,7 +27,7 @@ static void _setup(void)
o_images[i] = o;
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_color_set(o, 64, 64, 64, 255);
evas_obj_image_border_set(o, 3, 3, 3, 3);
efl_image_border_set(o, 3, 3, 3, 3);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;

@ -26,7 +26,7 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("frame.png"), NULL);
evas_obj_image_border_set(o, 8, 8, 8, 8);
efl_image_border_set(o, 8, 8, 8, 8);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;

@ -26,8 +26,8 @@ static void _setup(void)
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
efl_file_set(o, build_path("bar.png"), NULL);
evas_obj_image_border_set(o, 6, 6, 6, 6);
evas_obj_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID);
efl_image_border_set(o, 6, 6, 6, 6);
efl_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;

@ -28,8 +28,8 @@ static void _setup(void)
efl_file_set(o, build_path("logo.png"), NULL);
efl_gfx_fill_set(o, 0, 0, 120, 160);
efl_gfx_size_set(o, 120, 160);
evas_obj_image_border_set(o, 43, 48, 48, 83);
evas_obj_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID);
efl_image_border_set(o, 43, 48, 48, 83);
efl_image_border_center_fill_set(o, EVAS_BORDER_FILL_SOLID);
efl_gfx_visible_set(o, EINA_TRUE);
}
done = 0;

@ -458,7 +458,7 @@ ui_setup(unsigned int ui_w, unsigned int ui_h)
efl_file_set(o, build_path("text_sel.png"), NULL);
efl_gfx_size_set(o, 96, 32);
efl_gfx_fill_set(o, 0, 0, 96, 32);
evas_obj_image_border_set(o, 7, 7, 7, 7);
efl_image_border_set(o, 7, 7, 7, 7);
o_menu_text_sel = o;
o = eo_add(EVAS_TEXT_CLASS, evas);

@ -64,8 +64,8 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);

@ -64,8 +64,8 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);

@ -64,8 +64,8 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);

@ -64,8 +64,8 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);

@ -85,16 +85,16 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_icons[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8);
efl_gfx_visible_set(o, EINA_TRUE);

@ -85,16 +85,16 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_icons[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8);
efl_gfx_visible_set(o, EINA_TRUE);

@ -85,16 +85,16 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_icons[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8);
efl_gfx_visible_set(o, EINA_TRUE);

@ -85,16 +85,16 @@ static void _setup(void)
{
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_images[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path("pan.png"), NULL);
efl_gfx_size_set(o, win_w, ICON_SIZE);
efl_gfx_visible_set(o, EINA_TRUE);
o = eo_add(EVAS_IMAGE_CLASS, evas);
o_icons[i] = o;
evas_obj_image_filled_set(o, 1);
evas_obj_image_border_set(o, 2, 2, 2, 2);
efl_gfx_fill_filled_set(o, 1);
efl_image_border_set(o, 2, 2, 2, 2);
efl_file_set(o, build_path(icons[i % 13]), NULL);
efl_gfx_size_set(o, ICON_SIZE - 8, ICON_SIZE - 8);
efl_gfx_visible_set(o, EINA_TRUE);

Loading…
Cancel
Save