_elm_access_highlight_object_scroll(Evas_Object *obj, int type, int x, int y)
{
Evas *evas;
- Evas_Object *ho, *win;
+ Evas_Object *ho;
Evas_Coord_Rectangle ho_area;
-#ifdef HAVE_ELEMENTARY_X
- Ecore_X_Window xwin = 0;
-#endif
-
if (!obj) return;
evas = evas_object_evas_get(obj);
s_iface->repeat_events_set(s_parent, EINA_TRUE);
break;
- case 3:
+ default:
+ break;
+ }
+}
+
+void
+_elm_access_highlight_object_mouse(Evas_Object *obj, int type, int x, int y)
+{
+ Evas *evas;
+ Evas_Object *ho, *win;
+ Evas_Coord_Rectangle ho_area;
+
+#ifdef HAVE_ELEMENTARY_X
+ Ecore_X_Window xwin = 0;
+#endif
+
+ if (!obj) return;
+
+ evas = evas_object_evas_get(obj);
+ if (!evas) return;
+
+ switch (type)
+ {
+ case 0:
ho = _access_highlight_object_get(obj);
if (!ho)
{
#endif
break;
- case 4:
+ case 1:
if (!s_parent) return;
#ifdef HAVE_ELEMENTARY_X
#endif
break;
- case 5:
+ case 2:
if (!s_parent) return;
#ifdef HAVE_ELEMENTARY_X
const Eina_List *_elm_access_widget_item_access_order_get(const Elm_Widget_Item *item);
void _elm_access_widget_item_access_order_unset(Elm_Widget_Item *item);
void _elm_access_highlight_object_scroll(Evas_Object *obj, int type, int x, int y);
+void _elm_access_highlight_object_mouse(Evas_Object *obj, int type, int x, int y);
EAPI void _elm_access_clear(Elm_Access_Info *ac);
EAPI void _elm_access_text_set(Elm_Access_Info *ac, int type, const char *text);
_elm_access_highlight_object_activate
(ELM_WIDGET_DATA(sd)->obj, ELM_ACTIVATE_DOWN);
}
- else if ((unsigned int)e->data.l[1] == atom_scroll)
+ else if ((unsigned int)e->data.l[1] ==
+ ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_SCROLL)
{
_elm_access_highlight_object_scroll(ELM_WIDGET_DATA(sd)->obj,
e->data.l[2], e->data.l[3], e->data.l[4]);
}
- else if ((unsigned int)e->data.l[1] == atom_back)
+ else if ((unsigned int)e->data.l[1] ==
+ ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_MOUSE)
+ {
+ _elm_access_highlight_object_mouse(ELM_WIDGET_DATA(sd)->obj,
+ e->data.l[2], e->data.l[3], e->data.l[4]);
+ }
+ else if ((unsigned int)e->data.l[1] ==
+ ECORE_X_ATOM_E_ILLUME_ACCESS_ACTION_BACK)
{
_elm_access_highlight_object_activate
(ELM_WIDGET_DATA(sd)->obj, ELM_ACTIVATE_BACK);