Commit Graph

16 Commits

Author SHA1 Message Date
Jaeun Choi ab23a53094 elm_image: add a new eo property 'align' and implement related functions
previously, elm_image refered to align values
set by evas_object_size_hint_align_set function
to position the internal image inside an image object.
size hint value is for positioning the image object inside its container object,
so the previous code is inappropriate.
this commit adds 'align' property for positioning the internal image.
2016-05-30 20:26:34 +09:00
Ji-Youn Park 927fd22e89 elm_image: fix build break 2016-05-26 16:39:32 +08:30
Jaeun Choi 8cb6c3e466 Elm_image: implement 'scale_type' and 'scalable' property related functions
This patch implements the functions related to new eo properties
added in a5a44b0104
2016-05-26 16:26:04 +09:00
Jaeun Choi a5a44b0104 Elm_Image: add and remove eo properties related to image scaling
This patch adds scale_type and scalalable property
and removes fill_inside and aspect_fixed property
2016-04-29 14:06:52 +09:00
Ji-Youn Park 3f82fd1658 elm_image: add new method elm_image_icon_set to replace elm_icon_standard_set
we will remove elm_icon in the future.(only remain it in legacy)
for this, I added elm_image_icon_set API to the elm_image.
it is same as elm_icon_standard_set.
2016-04-27 22:05:23 +08:30
Ji-Youn Park 810ebb5db8 Elm_image: remove no_scale and resizable property.
elm image add new API to deal with scale type.
if we use scale type for elm_image, we don't need to use no_scale and resizable property
2016-04-11 20:03:25 +08:30
Ji-Youn Park beb6fa61c7 Elm_image: remove elm_image_sizing_eval from eo to legacy.
elm_image_object_get api will be deprecated, so moved sizing eval func to legacy
2016-04-07 19:08:41 +08:30
Jean-Philippe Andre d1709a2b57 Efl: Rename flip and orient enums
Efl.Flip is now the enum, the interface is Flipable.
We could even use names like Efl.IFlip a la Java.

eo_prefix is used to have pretty names in C. legacy: null
is removed from the enums. orient_x0 is removed and only
defined in C with #define
2016-04-07 17:32:40 +09:00
Jean-Philippe Andre c19030b301 elm_image: Fix warning (wrong enum type) 2016-04-06 14:24:50 +09:00
Yeshwanth Reddivari 98edbd23a4 Interface: Flip and orientation interface
Summary:
Added flip and orientation interface and used them in evas_image.
Removed efl_image_orientation_set API and used efl_orientation_set and efl_flip_set API.
In implementation part, converted enums back and forth in order to keep current implementation as it is.

Test Plan: src/examples/evas/evas-images5.c

Reviewers: singh.amitesh, raster, tasn, herdsman, woohyun, cedric, felipealmeida, jpeg

Subscribers: cedric, jpeg

Differential Revision: https://phab.enlightenment.org/D3844
2016-04-06 10:46:39 +09:00
Ji-Youn Park 8c3f4cd816 Elm_image: remove resizable_up and resizable_down Eo api
risizable_up and resizable_down api will be deprecated
after creating the apis to deal with image content using scale type
2016-04-04 10:19:18 +08:30
Ji-Youn Park e438bd09b2 Elm_image: remove object_get from eo and object_size_get to view.size.get
remove elm_image_object_get frome eo.
    change elm_image_object_size_get to efl_gfx_view_size_get
2016-04-01 17:19:14 +08:30
Ji-Youn Park 1dc9741d0f Elm_image: remove Elm_Image_Orient and orient property from EO. 2016-04-01 14:42:01 +08:30
Ji-Youn Park 66b9884ab3 Elm_image: move preload_disabled API from eo to legacy. 2016-04-01 14:36:58 +08:30
Ji-Youn Park 5be49ace8f Elm_image: remove elm_image_fill_outside_get
This api will be removed.
   elm_image_fill_outside_get is same as !elm_image_fill_inside_get.
   elm_image_fill_outside_set function is too.
2016-04-01 14:14:51 +08:30
Cedric BAIL c2a1c49ab2 elementary: move all legacy files to their expected new location. 2016-03-23 13:24:41 -07:00