summaryrefslogtreecommitdiff
path: root/src/lib/elm_image.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/elm_image.c')
-rw-r--r--src/lib/elm_image.c18
1 files changed, 15 insertions, 3 deletions
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index c5ebf5f..4c3a9c0 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -1265,7 +1265,7 @@ _elm_image_efl_image_load_load_size_get(Eo *obj EINA_UNUSED, Elm_Image_Data *sd,
1265} 1265}
1266 1266
1267EOLIAN static void 1267EOLIAN static void
1268_elm_image_orient_set(Eo *obj, Elm_Image_Data *sd, Elm_Image_Orient orient) 1268_elm_image_efl_image_orientation_set(Eo *obj, Elm_Image_Data *sd, Efl_Gfx_Orientation orient)
1269{ 1269{
1270 if (sd->edje) return; 1270 if (sd->edje) return;
1271 if (sd->orient == orient) return; 1271 if (sd->orient == orient) return;
@@ -1275,8 +1275,8 @@ _elm_image_orient_set(Eo *obj, Elm_Image_Data *sd, Elm_Image_Orient orient)
1275 _elm_image_internal_sizing_eval(obj, sd); 1275 _elm_image_internal_sizing_eval(obj, sd);
1276} 1276}
1277 1277
1278EOLIAN static Elm_Image_Orient 1278EOLIAN static Efl_Gfx_Orientation
1279_elm_image_orient_get(Eo *obj EINA_UNUSED, Elm_Image_Data *sd) 1279_elm_image_efl_image_orientation_get(Eo *obj EINA_UNUSED, Elm_Image_Data *sd)
1280{ 1280{
1281 return sd->orient; 1281 return sd->orient;
1282} 1282}
@@ -1672,4 +1672,16 @@ elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
1672 } 1672 }
1673} 1673}
1674 1674
1675EAPI void
1676elm_image_orient_set(Evas_Object *obj, Elm_Image_Orient orient)
1677{
1678 efl_image_orientation_set(obj, (Efl_Gfx_Orientation) orient);
1679}
1680
1681EAPI Elm_Image_Orient
1682elm_image_orient_get(const Evas_Object *obj)
1683{
1684 return (Elm_Image_Orient) efl_image_orientation_get(obj);
1685}
1686
1675#include "elm_image.eo.c" 1687#include "elm_image.eo.c"