summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLukasz Stanislawski <l.stanislaws@samsung.com>2017-11-24 16:50:01 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2017-11-24 16:50:01 +0900
commit2016bacd177b3d8787b5e829155c9eb9cbb24875 (patch)
tree2535cb648338c1871219573b5d5bf6d208869529
parent9fbd9497b0c354778163b35986a2e79910171db4 (diff)
elm: add custom access state for Elm.Hover
Reviewers: jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D5523
-rw-r--r--src/lib/elementary/elm_hover.c10
-rw-r--r--src/lib/elementary/elm_hover.eo1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/elementary/elm_hover.c b/src/lib/elementary/elm_hover.c
index 5bbbc57..b92b2ea 100644
--- a/src/lib/elementary/elm_hover.c
+++ b/src/lib/elementary/elm_hover.c
@@ -865,6 +865,16 @@ _elm_hover_efl_access_widget_action_elm_actions_get(Eo *obj EINA_UNUSED, Elm_Hov
865 return &atspi_actions[0]; 865 return &atspi_actions[0];
866} 866}
867 867
868EOLIAN static Efl_Access_State_Set
869_elm_hover_efl_access_state_set_get(Eo *obj, Elm_Hover_Data *pd EINA_UNUSED)
870{
871 Efl_Access_State_Set states;
872 states = efl_access_state_set_get(efl_super(obj, MY_CLASS));
873
874 STATE_TYPE_SET(states, EFL_ACCESS_STATE_MODAL);
875 return states;
876}
877
868/* Efl.Part begin */ 878/* Efl.Part begin */
869 879
870ELM_PART_OVERRIDE(elm_hover, ELM_HOVER, Elm_Hover_Data) 880ELM_PART_OVERRIDE(elm_hover, ELM_HOVER, Elm_Hover_Data)
diff --git a/src/lib/elementary/elm_hover.eo b/src/lib/elementary/elm_hover.eo
index a1c33f0..c517b9c 100644
--- a/src/lib/elementary/elm_hover.eo
+++ b/src/lib/elementary/elm_hover.eo
@@ -69,6 +69,7 @@ class Elm.Hover (Efl.Ui.Layout, Efl.Ui.Focus.Layer, Efl.Ui.Clickable, Efl.Access
69 Elm.Widget.widget_parent { get; set; } 69 Elm.Widget.widget_parent { get; set; }
70 Elm.Widget.widget_sub_object_del; 70 Elm.Widget.widget_sub_object_del;
71 Efl.Access.Widget.Action.elm_actions { get; } 71 Efl.Access.Widget.Action.elm_actions { get; }
72 Efl.Access.state_set { get; }
72 Efl.Part.part; 73 Efl.Part.part;
73 } 74 }
74 events { 75 events {