migrate to new efl api.

This commit is contained in:
Cedric BAIL 2016-03-17 16:53:27 -07:00
parent 24eca8a778
commit 051a4ec0cf
14 changed files with 32 additions and 32 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);

View File

@ -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);