forked from enlightenment/efl
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:
parent
33f1094fd7
commit
d8b46509c7
|
@ -1662,7 +1662,7 @@ _win_rotate(Evas_Object *obj, Efl_Ui_Win_Data *sd, int rotation, Eina_Bool resiz
|
|||
}
|
||||
|
||||
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;
|
||||
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)
|
||||
{
|
||||
return pd->rotation;
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
import efl_orientation;
|
||||
|
||||
enum Efl.Ui.Win_Type
|
||||
{
|
||||
[[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 {
|
||||
}
|
||||
values {
|
||||
rotation : Efl.Orient; [[The rotation of the window]]
|
||||
rotation : int; [[The rotation of the window]]
|
||||
}
|
||||
}
|
||||
@property focus_highlight_enabled {
|
||||
|
|
Loading…
Reference in New Issue