diff --git a/legacy/elementary/src/examples/calendar_example_04.c b/legacy/elementary/src/examples/calendar_example_04.c index ff170bab86..de27c173d1 100644 --- a/legacy/elementary/src/examples/calendar_example_04.c +++ b/legacy/elementary/src/examples/calendar_example_04.c @@ -39,7 +39,7 @@ elm_main(int argc, char **argv) cal = elm_calendar_add(win); evas_object_size_hint_weight_set(cal, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); evas_object_size_hint_align_set(cal, EVAS_HINT_FILL, EVAS_HINT_FILL); - elm_calendar_day_selection_disabled_set(cal, EINA_TRUE); + elm_calendar_select_mode_set(cal, ELM_CALENDAR_SELECT_MODE_NONE); evas_object_show(cal); elm_box_pack_end(bx, cal); diff --git a/legacy/elementary/src/examples/calendar_example_05.c b/legacy/elementary/src/examples/calendar_example_05.c index 6f752b1d2e..3ca141d92d 100644 --- a/legacy/elementary/src/examples/calendar_example_05.c +++ b/legacy/elementary/src/examples/calendar_example_05.c @@ -25,7 +25,7 @@ _print_cal_info_cb(void *data, Evas_Object *obj, void *event_info) interval = elm_calendar_interval_get(obj); elm_calendar_min_max_year_get(obj, &year_min, &year_max); - sel_enabled = !elm_calendar_day_selection_disabled_get(obj); + sel_enabled = (elm_calendar_select_mode_get(obj) != ELM_CALENDAR_SELECT_MODE_NONE); wds = elm_calendar_weekdays_names_get(obj); printf("Day: %i, Mon: %i, Year %i, WeekDay: %i
\n" diff --git a/legacy/elementary/src/examples/icon_example_01.c b/legacy/elementary/src/examples/icon_example_01.c index cb730c337d..23ec856d1b 100644 --- a/legacy/elementary/src/examples/icon_example_01.c +++ b/legacy/elementary/src/examples/icon_example_01.c @@ -27,13 +27,13 @@ elm_main(int argc, char **argv) path = NULL; group = NULL; name = NULL; - elm_icon_file_get(icon, &path, &group); + elm_image_file_get(icon, &path, &group); name = elm_icon_standard_get(icon); printf("path = %s, group = %s, name = %s\n", path, group, name); - elm_icon_no_scale_set(icon, EINA_TRUE); + elm_image_no_scale_set(icon, EINA_TRUE); elm_image_resizable_set(icon, EINA_FALSE, EINA_TRUE); - elm_icon_smooth_set(icon, EINA_FALSE); + elm_image_smooth_set(icon, EINA_FALSE); elm_icon_fill_outside_set(icon, EINA_TRUE); evas_object_size_hint_weight_set(icon, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND); diff --git a/legacy/elementary/src/examples/map_example_02.c b/legacy/elementary/src/examples/map_example_02.c index 43e300a050..f7e29fdef1 100644 --- a/legacy/elementary/src/examples/map_example_02.c +++ b/legacy/elementary/src/examples/map_example_02.c @@ -30,7 +30,7 @@ static Evas_Object * _icon_get(Evas_Object *obj, const char *file) { Evas_Object *icon = elm_icon_add(obj); - elm_icon_file_set(icon, file, NULL); + elm_image_file_set(icon, file, NULL); evas_object_show(icon); return icon; } diff --git a/legacy/elementary/src/examples/popup_example_02.c b/legacy/elementary/src/examples/popup_example_02.c index b66e05fbe5..e13ee22e88 100644 --- a/legacy/elementary/src/examples/popup_example_02.c +++ b/legacy/elementary/src/examples/popup_example_02.c @@ -35,7 +35,7 @@ elm_main(int argc, char **argv) icon1 = elm_icon_add(popup); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get()); - elm_icon_file_set(icon1, buf, NULL); + elm_image_file_set(icon1, buf, NULL); //Setting popup title-icon elm_object_part_content_set(popup, "title,icon", icon1); diff --git a/legacy/elementary/src/examples/popup_example_03.c b/legacy/elementary/src/examples/popup_example_03.c index 97f09c92fe..3b536d4884 100644 --- a/legacy/elementary/src/examples/popup_example_03.c +++ b/legacy/elementary/src/examples/popup_example_03.c @@ -28,7 +28,7 @@ elm_main(int argc, char **argv) icon1 = elm_icon_add(popup); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get()); - elm_icon_file_set(icon1, buf, NULL); + elm_image_file_set(icon1, buf, NULL); //Seting popup title-text elm_object_part_text_set(popup, "title,text", "Title"); diff --git a/legacy/elementary/src/examples/progressbar_example.c b/legacy/elementary/src/examples/progressbar_example.c index 06e17b38b5..2d4be20f39 100644 --- a/legacy/elementary/src/examples/progressbar_example.c +++ b/legacy/elementary/src/examples/progressbar_example.c @@ -149,7 +149,7 @@ elm_main(int argc, ic1 = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/logo_small.png", elm_app_data_dir_get()); - elm_icon_file_set(ic1, buf, NULL); + elm_image_file_set(ic1, buf, NULL); evas_object_size_hint_aspect_set(ic1, EVAS_ASPECT_CONTROL_VERTICAL, 1, 1); /* pb with label, icon, custom unit label function and span size set */ @@ -198,7 +198,7 @@ elm_main(int argc, example_data.pb5 = pb; ic2 = elm_icon_add(win); - elm_icon_file_set(ic2, buf, NULL); + elm_image_file_set(ic2, buf, NULL); evas_object_size_hint_aspect_set(ic2, EVAS_ASPECT_CONTROL_HORIZONTAL, 1, 1); /* vertical pb, inverted, with custom unit format and icon*/ diff --git a/legacy/elementary/src/examples/transit_example_03.c b/legacy/elementary/src/examples/transit_example_03.c index 0bfc8fd78e..bfffa793a9 100644 --- a/legacy/elementary/src/examples/transit_example_03.c +++ b/legacy/elementary/src/examples/transit_example_03.c @@ -222,7 +222,7 @@ elm_main(int argc, char **argv) elm_object_text_set(obj, "Transformed object!"); icon = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/icon_07.png", elm_app_data_dir_get()); - elm_icon_file_set(icon, buf, NULL); + elm_image_file_set(icon, buf, NULL); elm_object_part_content_set(obj, "icon", icon); evas_object_move(obj, 160, 60); evas_object_resize(obj, 250, 100); diff --git a/legacy/elementary/src/examples/transit_example_04.c b/legacy/elementary/src/examples/transit_example_04.c index cf0338fe80..06a4edcd15 100644 --- a/legacy/elementary/src/examples/transit_example_04.c +++ b/legacy/elementary/src/examples/transit_example_04.c @@ -125,7 +125,7 @@ elm_main(int argc, char **argv) elm_object_text_set(obj, "Transformed object!"); icon = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/icon_07.png", elm_app_data_dir_get()); - elm_icon_file_set(icon, buf, NULL); + elm_image_file_set(icon, buf, NULL); elm_object_part_content_set(obj, "icon", icon); evas_object_move(obj, 160, 60); evas_object_resize(obj, 250, 100); @@ -138,7 +138,7 @@ elm_main(int argc, char **argv) elm_object_text_set(obj, "Another object!"); icon = elm_icon_add(win); snprintf(buf, sizeof(buf), "%s/images/icon_08.png", elm_app_data_dir_get()); - elm_icon_file_set(icon, buf, NULL); + elm_image_file_set(icon, buf, NULL); elm_object_part_content_set(obj, "icon", icon); evas_object_move(obj, 160, 60); evas_object_resize(obj, 250, 100); diff --git a/legacy/elementary/src/examples/win_example.c b/legacy/elementary/src/examples/win_example.c index b5435d92fe..867c9c0941 100644 --- a/legacy/elementary/src/examples/win_example.c +++ b/legacy/elementary/src/examples/win_example.c @@ -212,9 +212,9 @@ elm_main(int argc, char *argv[]) o = elm_icon_add(win2); sprintf(buf, "%s/images/logo.png", elm_app_data_dir_get()); - elm_icon_file_set(o, buf, NULL); + elm_image_file_set(o, buf, NULL); elm_image_resizable_set(o, 0, 0); - elm_icon_no_scale_set(o, EINA_TRUE); + elm_image_no_scale_set(o, EINA_TRUE); elm_win_resize_object_add(win2, o); evas_object_show(o);