forked from enlightenment/efl
slideshow - use images not photos. :)
This commit is contained in:
parent
59e8bc5a35
commit
03eab34d44
|
@ -91,10 +91,9 @@ _get(void *data, Evas_Object *obj)
|
|||
//elm_photocam_file_set(photo, data);
|
||||
//elm_photocam_zoom_mode_set(photo, ELM_PHOTOCAM_ZOOM_MODE_AUTO_FIT);
|
||||
|
||||
Evas_Object *photo = elm_photo_add(obj);
|
||||
elm_photo_file_set(photo, data);
|
||||
elm_photo_fill_inside_set(photo, EINA_TRUE);
|
||||
elm_object_style_set(photo, "shadow");
|
||||
Evas_Object *photo = elm_image_add(obj);
|
||||
elm_image_file_set(photo, data, NULL);
|
||||
elm_image_fill_outside_set(photo, EINA_FALSE);
|
||||
|
||||
return photo;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue