EINA_LIST_FOREACH(objs, elist, obj)
evas_object_resize(obj, w, h);
-
}
static Elm_Transit_Effect *
elm_transit_effect_translation_add(trans, -70.0, -150.0, 70.0, 150.0);
/* Color Effect */
- elm_transit_effect_color_add(trans, 100, 255, 100, 255, 200, 50, 200, 50);
+ elm_transit_effect_color_add(trans, 100, 255, 100, 255, 50, 30, 50, 50);
/* Rotation Effect */
elm_transit_effect_rotation_add(trans, 0.0, 135.0);
bt = elm_button_add(win);
elm_object_text_set(bt, "ImageAnimation Effect");
- elm_object_content_set(bt, ic);
+ elm_object_part_content_set(bt, "icon", ic);
elm_box_pack_end(bx, bt);
evas_object_show(bt);
evas_object_show(ic);
evas_object_size_hint_max_set(ic, 50, 50);
bt = elm_button_add(win);
- elm_object_content_set(bt, ic);
+ elm_object_part_content_set(bt, "icon", ic);
elm_object_text_set(bt, "Before Button - Blend Effect");
evas_object_move(bt, 25, 125);
evas_object_resize(bt, 250, 50);
evas_object_size_hint_max_set(ic, 50, 50);
bt2 = elm_button_add(win);
- elm_object_content_set(bt2, ic);
+ elm_object_part_content_set(bt2, "icon", ic);
elm_object_text_set(bt2, "After Button - Blend Effect");
evas_object_move(bt2, 25, 125);
evas_object_resize(bt2, 250, 50);
evas_object_size_hint_max_set(ic, 50, 50);
bt = elm_button_add(win);
- elm_object_content_set(bt, ic);
+ elm_object_part_content_set(bt, "icon", ic);
elm_object_text_set(bt, "Before Button - Fade Effect");
evas_object_move(bt, 25, 125);
evas_object_resize(bt, 250, 50);
evas_object_size_hint_max_set(ic, 50, 50);
bt2 = elm_button_add(win);
- elm_object_content_set(bt2, ic);
+ elm_object_part_content_set(bt2, "icon", ic);
elm_object_text_set(bt2, "After Button - Fade Effect");
evas_object_move(bt2, 25, 125);
evas_object_resize(bt2, 250, 50);
evas_object_resize(win, 400, 400);
evas_object_show(win);
}
-
-
#endif