efl_ui_win: do not use Efl.Orient

windows are not restricted to 90 degree rotations. also this type
shouldn't be stable yet

ref T7511
ref T7726

Reviewed-by: Cedric BAIL <cedric.bail@free.fr>
Differential Revision: https://phab.enlightenment.org/D8239
This commit is contained in:
Mike Blumenkrantz 2019-03-07 14:46:09 -05:00 committed by Cedric BAIL
parent 33f1094fd7
commit d8b46509c7
2 changed files with 3 additions and 5 deletions

View File

@ -1662,7 +1662,7 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
} }
EOLIAN static void EOLIAN static void
_efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Orient rotation) _efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, int rotation)
{ {
Efl_Ui_Widget *widget; Efl_Ui_Widget *widget;
Eina_Iterator *it; Eina_Iterator *it;
@ -1682,7 +1682,7 @@ _efl_ui_win_win_rotation_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd, Efl_Orien
} }
} }
EOLIAN static Efl_Orient EOLIAN static int
_efl_ui_win_win_rotation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd) _efl_ui_win_win_rotation_get(const Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *pd)
{ {
return pd->rotation; return pd->rotation;

View File

@ -1,5 +1,3 @@
import efl_orientation;
enum Efl.Ui.Win_Type enum Efl.Ui.Win_Type
{ {
[[Defines the types of window that can be created [[Defines the types of window that can be created
@ -757,7 +755,7 @@ class @beta Efl.Ui.Win extends Efl.Ui.Widget implements Efl.Canvas.Scene, Efl.Ac
get { get {
} }
values { values {
rotation : Efl.Orient; [[The rotation of the window]] rotation : int; [[The rotation of the window]]
} }
} }
@property focus_highlight_enabled { @property focus_highlight_enabled {