edje_object_signal_emit(VIEW(it_inactive),
"elm,state,inactive", "elm");
- //TIZEN_ONLY(20160519): improve index atspi support
- if (_elm_atspi_enabled()) elm_layout_signal_emit(obj, "elm,indicator,state,inactive", "elm");
- //
edje_object_message_signal_process(VIEW(it_inactive));
}
edje_object_signal_emit(VIEW(it_active), "elm,state,active", "elm");
- //TIZEN_ONLY(20160519): improve index atspi support
- if (_elm_atspi_enabled())
- {
- elm_layout_text_set(obj, "elm.text", strdup(it_sel->letter));
- elm_layout_signal_emit(obj, "elm,indicator,state,active", "elm");
- }
- //
-
edje_object_message_signal_process(VIEW(it_active));
eo_do(obj, eo_event_callback_call
}
//
+//TIZEN ONLY(20161114): index item accessibility highlight implementation
+EOLIAN static Eina_Bool
+_elm_index_item_elm_interface_atspi_component_highlight_grab(Eo *eo_it, Elm_Index_Item_Data *sd)
+{
+ Evas_Object *obj = WIDGET(sd);
+ if (sd->letter)
+ elm_layout_text_set(obj, "elm.text", strdup(sd->letter));
+ elm_layout_signal_emit(obj, "elm,indicator,state,active", "elm");
+ elm_object_accessibility_highlight_set(eo_it, EINA_TRUE);
+
+ return EINA_TRUE;
+}
+
+EOLIAN static Eina_Bool
+_elm_index_item_elm_interface_atspi_component_highlight_clear(Eo *eo_it, Elm_Index_Item_Data *sd)
+{
+ Evas_Object *obj = WIDGET(sd);
+ elm_layout_signal_emit(obj, "elm,indicator,state,inactive", "elm");
+ elm_object_accessibility_highlight_set(eo_it, EINA_FALSE);
+
+ return EINA_TRUE;
+}
+//
+
#include "elm_index_item.eo.c"
#include "elm_index.eo.c"