Evas_Object *ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "home");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_ctxpopup_item_append(ctxpopup, "Go to home folder", ic, NULL, NULL);
ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "delete");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_ctxpopup_item_append(ctxpopup, "Delete file", ic, NULL, NULL);
ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, "folder");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
Elm_Object_Item *it = elm_ctxpopup_item_append(ctxpopup, "Navigate to folder", ic, NULL, NULL);
elm_object_item_disabled_set(it, EINA_TRUE);
elm_win_resize_object_add(win, o);
elm_icon_standard_set(o, "home");
-elm_icon_resizable_set(o, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(o, EINA_FALSE, EINA_FALSE);
evas_object_show(o);
#include "widget_preview_tmpl_foot.c"
{
Evas_Object *ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
evas_object_show(ic);
elm_table_pack(tb, ic, i, j, 1, 1);
}
{
Evas_Object *ic = elm_icon_add(ctxpopup);
elm_icon_standard_set(ic, icon);
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
return elm_ctxpopup_item_append(ctxpopup, label, ic, _ctxpopup_item_cb, NULL);
}
printf("path = %s, group = %s, name = %s\n", path, group, name);
elm_icon_no_scale_set(icon, EINA_TRUE);
- elm_icon_resizable_set(icon, EINA_FALSE, EINA_TRUE);
+ elm_image_resizable_set(icon, EINA_FALSE, EINA_TRUE);
elm_icon_smooth_set(icon, EINA_FALSE);
elm_icon_fill_outside_set(icon, EINA_TRUE);
snprintf(label, sizeof(label), "Item %i", counter++);
ic = elm_icon_add(li);
elm_icon_standard_set(ic, "home");
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
list_it = elm_list_item_append(li, label, ic, NULL, NULL, NULL);
if (!list_it)
{
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
evas_object_show(ic);
elm_table_pack(tb, ic, i, j, 1, 1);
}
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "home");
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_object_part_content_set(sl, "icon", ic);
ic = elm_icon_add(win);
elm_icon_standard_set(ic, "folder");
- elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+ elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
elm_object_part_content_set(sl, "end", ic);
evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
o = elm_icon_add(win2);
sprintf(buf, "%s/images/logo.png", elm_app_data_dir_get());
elm_icon_file_set(o, buf, NULL);
- elm_icon_resizable_set(o, 0, 0);
+ elm_image_resizable_set(o, 0, 0);
elm_icon_no_scale_set(o, EINA_TRUE);
elm_win_resize_object_add(win2, o);
evas_object_show(o);