summaryrefslogtreecommitdiff
path: root/src/lib/elementary/efl_ui_win.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2017-08-31 15:57:53 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-09-01 10:09:37 +0900
commit94632f8a44f5128ef6556aee7e0b3ff3fc2466af (patch)
tree055464e53e26f303ab2073a9d5a7584f319e4b7d /src/lib/elementary/efl_ui_win.c
parent0972c49438f4a8b39c2e38146642e69442afa471 (diff)
win: Move focus_highlight_enabled to widget (EO)
This was actually declared in the internal legacy API in widget. Forwards the calls to the window. Ref T
Diffstat (limited to '')
-rw-r--r--src/lib/elementary/efl_ui_win.c17
1 files changed, 15 insertions, 2 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index a19456bb31..ddd7d61dff 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -6279,8 +6279,9 @@ _efl_ui_win_keygrab_unset(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, const char *
6279} 6279}
6280 6280
6281EOLIAN static void 6281EOLIAN static void
6282_efl_ui_win_focus_highlight_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool enabled) 6282_efl_ui_win_elm_widget_focus_highlight_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd, Eina_Bool enabled)
6283{ 6283{
6284 // Do not call efl_super() here. Only Win handles this property.
6284 enabled = !!enabled; 6285 enabled = !!enabled;
6285 if (sd->focus_highlight.enabled == enabled) 6286 if (sd->focus_highlight.enabled == enabled)
6286 return; 6287 return;
@@ -6294,8 +6295,9 @@ _efl_ui_win_focus_highlight_enabled_set(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd
6294} 6295}
6295 6296
6296EOLIAN static Eina_Bool 6297EOLIAN static Eina_Bool
6297_efl_ui_win_focus_highlight_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd) 6298_efl_ui_win_elm_widget_focus_highlight_enabled_get(Eo *obj EINA_UNUSED, Efl_Ui_Win_Data *sd)
6298{ 6299{
6300 // Do not call efl_super() here. Only Win handles this property.
6299 return sd->focus_highlight.enabled; 6301 return sd->focus_highlight.enabled;
6300} 6302}
6301 6303
@@ -8178,6 +8180,17 @@ elm_win_focus_highlight_style_get(const Elm_Win *obj)
8178 return elm_widget_focus_highlight_style_get(obj); 8180 return elm_widget_focus_highlight_style_get(obj);
8179} 8181}
8180 8182
8183EAPI Eina_Bool
8184elm_win_focus_highlight_enabled_get(const Efl_Ui_Win *obj)
8185{
8186 return elm_widget_focus_highlight_enabled_get(obj);
8187}
8188
8189EAPI void
8190elm_win_focus_highlight_enabled_set(Efl_Ui_Win *obj, Eina_Bool enabled)
8191{
8192 elm_obj_widget_focus_highlight_enabled_set(obj, enabled);
8193}
8181 8194
8182// deprecated 8195// deprecated
8183 8196