summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 08:23:25 +0100
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2020-08-25 13:21:25 +0100
commitf6e33361eda55d3223ca7f8859901c4dc9ec09f6 (patch)
treef61bab226b91351ec6fef6d5d5ad6ef3f69ddc59
parentaad95dd6254e525f51a7369c9f7f732e3386f843 (diff)
elm - efl ui win - fix enum handling with explicit casts where needed
warnings and cash enums to show we really do keep enums in sync
-rw-r--r--src/lib/elementary/efl_ui_win.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 1b6f4deac5..4ce4c0e809 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -1981,7 +1981,7 @@ _key_action_move(Evas_Object *obj, const char *params)
1981 1981
1982 // The handling for legacy is different due to elm_object_next set 1982 // The handling for legacy is different due to elm_object_next set
1983 if (elm_widget_is_legacy(obj)) 1983 if (elm_widget_is_legacy(obj))
1984 elm_object_focus_next(obj, focus_dir); 1984 elm_object_focus_next(obj, (Elm_Focus_Direction)focus_dir);
1985 else 1985 else
1986 { 1986 {
1987 Efl_Ui_Widget *o; 1987 Efl_Ui_Widget *o;
@@ -5609,7 +5609,7 @@ _elm_win_finalize_internal(Eo *obj, Efl_Ui_Win_Data *sd, const char *name, Efl_U
5609 else if ((engine) && (!strncmp(engine, "shot:", 5))) 5609 else if ((engine) && (!strncmp(engine, "shot:", 5)))
5610 _shot_init(sd); 5610 _shot_init(sd);
5611 5611
5612 sd->kbdmode = ELM_WIN_KEYBOARD_UNKNOWN; 5612 sd->kbdmode = EFL_UI_WIN_KEYBOARD_MODE_UNKNOWN;
5613 sd->legacy.indmode = ELM_WIN_INDICATOR_UNKNOWN; 5613 sd->legacy.indmode = ELM_WIN_INDICATOR_UNKNOWN;
5614 sd->indimode = EFL_UI_WIN_INDICATOR_MODE_OFF; 5614 sd->indimode = EFL_UI_WIN_INDICATOR_MODE_OFF;
5615 5615
@@ -9562,7 +9562,7 @@ elm_win_add(Evas_Object *parent, const char *name, Elm_Win_Type type)
9562 9562
9563 return elm_legacy_add(klass, parent, 9563 return elm_legacy_add(klass, parent,
9564 efl_ui_win_name_set(efl_added, name), 9564 efl_ui_win_name_set(efl_added, name),
9565 efl_ui_win_type_set(efl_added, type)); 9565 efl_ui_win_type_set(efl_added, (Efl_Ui_Win_Type)type));
9566} 9566}
9567 9567
9568 9568
@@ -9609,13 +9609,13 @@ elm_win_util_dialog_add(Evas_Object *parent, const char *name, const char *title
9609EAPI void 9609EAPI void
9610elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode) 9610elm_win_keyboard_mode_set(Evas_Object *obj, Elm_Win_Keyboard_Mode mode)
9611{ 9611{
9612 efl_ui_win_keyboard_mode_set(obj, mode); 9612 efl_ui_win_keyboard_mode_set(obj, (Efl_Ui_Win_Keyboard_Mode)mode);
9613} 9613}
9614 9614
9615EAPI Elm_Win_Keyboard_Mode 9615EAPI Elm_Win_Keyboard_Mode
9616elm_win_keyboard_mode_get(const Evas_Object *obj) 9616elm_win_keyboard_mode_get(const Evas_Object *obj)
9617{ 9617{
9618 return efl_ui_win_keyboard_mode_get(obj); 9618 return (Elm_Win_Keyboard_Mode)efl_ui_win_keyboard_mode_get(obj);
9619} 9619}
9620 9620
9621EAPI void 9621EAPI void
@@ -9812,7 +9812,7 @@ elm_win_center(Evas_Object *obj, Eina_Bool h, Eina_Bool v)
9812EAPI Eina_Bool 9812EAPI Eina_Bool
9813elm_win_move_resize_start(Evas_Object *obj, Elm_Win_Move_Resize_Mode mode) 9813elm_win_move_resize_start(Evas_Object *obj, Elm_Win_Move_Resize_Mode mode)
9814{ 9814{
9815 return efl_ui_win_move_resize_start(obj, mode); 9815 return efl_ui_win_move_resize_start(obj, (Efl_Ui_Win_Move_Resize_Mode)mode);
9816} 9816}
9817 9817
9818EAPI void 9818EAPI void