{
if ((role != ELM_ATSPI_ROLE_WINDOW) &&
(role != ELM_ATSPI_ROLE_PAGE_TAB) &&
+ (role != ELM_ATSPI_ROLE_INPUT_METHOD_WINDOW) &&
(!STATE_TYPE_GET(ss, ELM_ATSPI_STATE_MODAL)))
return EINA_FALSE;
}
else /* Not Showing */
{
if ((role != ELM_ATSPI_ROLE_WINDOW) &&
+ (role != ELM_ATSPI_ROLE_INPUT_METHOD_WINDOW) &&
(!STATE_TYPE_GET(ss, ELM_ATSPI_STATE_MODAL)) &&
(_elm_object_accessibility_currently_highlighted_get() != (void *)obj))
return EINA_FALSE;
return _elm_widget_accessible_plain_name_get(obj, elm_win_title_get(obj));
}
+EOLIAN static void
+_elm_win_elm_interface_atspi_component_extents_get(Eo *obj, Elm_Win_Data *sd EINA_UNUSED, Eina_Bool screen_coords, int *x, int *y, int *w, int *h)
+{
+ int ee_x, ee_y;
+
+ if (x) *x = 0;
+ if (y) *y = 0;
+ evas_object_geometry_get(obj, NULL, NULL, w, h);
+ if (screen_coords)
+ {
+ Ecore_Evas *ee = ecore_evas_ecore_evas_get(evas_object_evas_get(obj));
+ if (!ee) return;
+ ecore_evas_geometry_get(ee, &ee_x, &ee_y, NULL, NULL);
+ if (x) *x += ee_x;
+ if (y) *y += ee_y;
+ }
+}
+
#include "elm_win.eo.c"
//////////////////////////////////////////////////////////////////
}
class Elm.Win (Elm.Widget, Elm_Interface_Atspi_Window,
+ Elm_Interface_Atspi_Component,
Elm_Interface_Atspi_Widget_Action)
{
eo_prefix: elm_obj_win;
Elm_Interface_Atspi_Accessible.state_set.get;
Elm_Interface_Atspi_Accessible.name.get;
Elm_Interface_Atspi_Widget_Action.elm_actions.get;
+ Elm_Interface_Atspi_Component.extents.get;
}
constructors {
.name;