diff options
Diffstat (limited to 'src/lib/elm_image.eo')
-rw-r--r-- | src/lib/elm_image.eo | 35 |
1 files changed, 2 insertions, 33 deletions
diff --git a/src/lib/elm_image.eo b/src/lib/elm_image.eo index a65eca8b7..9d12d9559 100644 --- a/src/lib/elm_image.eo +++ b/src/lib/elm_image.eo @@ -1,26 +1,5 @@ import evas_image; -enum Elm.Image_Orient -{ - [[ - Using Evas_Image_Orient enums. - @since 1.14 - ]] - legacy: elm_image; - orient_none = Evas.Image_Orient.orient_none, - orient_0 = Evas.Image_Orient.orient_0, - rotate_90 = Evas.Image_Orient.orient_90, - orient_90 = Evas.Image_Orient.orient_90, - rotate_180 = Evas.Image_Orient.orient_180, - orient_180 = Evas.Image_Orient.orient_180, - rotate_270 = Evas.Image_Orient.orient_270, - orient_270 = Evas.Image_Orient.orient_270, - flip_horizontal = Evas.Image_Orient.flip_horizontal, - flip_vertical = Evas.Image_Orient.flip_vertical, - flip_transpose = Evas.Image_Orient.flip_transpose, - flip_transverse = Evas.Image_Orient.flip_transverse -} - struct Elm.Image_Progress { [[ @@ -128,18 +107,6 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image_Load, Evas.Clickable_Interface, fixed: bool; [[$true if the image should retain the aspect, $false otherwise.]] } } - @property orient { - [[Contrtol the image orientation. - - This function allows to rotate or flip the given image.]] - set { - } - get { - } - values { - orient: Elm.Image_Orient; [[The image orientation Elm.Image.Orient Default is #ELM_IMAGE_ORIENT_NONE.]] - } - } @property resizable { [[Control if the object is (up/down) resizable. @@ -200,6 +167,8 @@ class Elm.Image (Elm.Widget, Efl.File, Efl.Image_Load, Evas.Clickable_Interface, Efl.Image_Load.load_size.get; Efl.Image.smooth_scale.set; Efl.Image.smooth_scale.get; + Efl.Image.orientation.set; + Efl.Image.orientation.get; Efl.Player.playable.get; Efl.Player.play.set; Efl.Player.play.get; |