Commit Graph

5 Commits

Author SHA1 Message Date
kabeer khan 97cefca273 elm_image: changed orient_set code to use evas_object_image_orient_set API
Summary:
evas_image_orient_set is a newly added API to set orientation of evas image.
Using this API to set orientation of image widget.
Also removed Elm_Image_Orient enums and replaced it with Evas_Image_Orient enums.

Signed-off-by: kabeer khan <kabeer.khan@samsung.com>

Reviewers: raster, seoz, cedric

Differential Revision: https://phab.enlightenment.org/D1987

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
2015-02-20 14:31:12 +01:00
Carsten Haitzler 97e625c68c elm - elm image orientation api fix - major bug in implementation
@fix

The elm image orient_set api looks like it is a state, and it is
documented to SET the orietnation, but the code actually DOEs that
orientation when you set it. so docs and api name didnt match
functionality at all. this was bad an an oversight. you didn't notice
until you set orientation multiple times to an image. this fixes the
implementation to be as documented - a state that is applied and
remains that way until set to something else. setting to the same
orientation has no efect as with color, size, etc. etc. in evas.

you could look on this as an api break, but then either the docs
change AND api name changes to match the code, or code changes to
match the docs. we don't keep bug compatibility in efl and in this
case i'm making the call to break the behavior of a  function as it
was broken already with respect to name and docs.
2015-01-12 11:31:43 +09:00
Daniel Juyung Seo a19d5c2c21 icon, image, label: Fix and clean up doxygen documentation. 2014-11-22 00:38:44 +09:00
Cedric Bail 1baaa321a7 elm_image: add support for url. 2013-08-09 21:13:15 +09:00
Daniel Zaoui f03db69f8f Elementary: Split headers for Gengrid, genlist, grid, image and index 2013-04-28 15:25:28 +03:00