_access_obj_del_cb(void *data, Evas *e __UNUSED__, Evas_Object *obj, void *event_info __UNUSED__)
{
Elm_Access_Info *ac;
-
+
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_IN,
_access_obj_mouse_in_cb, data);
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_OUT,
{
Elm_Access_Item *ai;
Eina_List *l;
-
+
if (!ac) return NULL;
EINA_LIST_FOREACH(ac->items, l, ai)
{
_elm_access_object_register(Evas_Object *obj, Evas_Object *hoverobj)
{
Elm_Access_Info *ac;
-
+
evas_object_event_callback_add(hoverobj, EVAS_CALLBACK_MOUSE_IN,
_access_obj_mouse_in_cb, obj);
evas_object_event_callback_add(hoverobj, EVAS_CALLBACK_MOUSE_OUT,
wd->timer = NULL;
}
wd->repeating = EINA_FALSE;
- if ((_elm_config->access_mode == ELM_ACCESS_MODE_OFF) ||
+ if ((_elm_config->access_mode == ELM_ACCESS_MODE_OFF) ||
(_elm_access_2nd_click_timeout(obj)))
{
if (_elm_config->access_mode != ELM_ACCESS_MODE_OFF)
// TODO: convert Elementary to subclassing of Evas_Smart_Class
// TODO: and save some bytes, making descriptions per-class and not instance!
evas_object_smart_callbacks_descriptions_set(obj, _signals);
-
+
_elm_access_object_register(obj, wd->btn);
_elm_access_text_set(_elm_access_object_get(obj),
ELM_ACCESS_TYPE, E_("Button"));