forked from enlightenment/efl
atspi:Set roles for widgets
Reviewers: stanluk, m.jagiello, raster Differential Revision: https://phab.enlightenment.org/D930
This commit is contained in:
parent
dccab720a7
commit
9ce23f0004
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_ctxpopup.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_CTXPOPUP_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Ctxpopup"
|
||||
|
@ -1172,7 +1176,8 @@ _elm_ctxpopup_eo_base_constructor(Eo *obj, Elm_Ctxpopup_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_POPUP_MENU));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
#include "elm_interface_fileselector.h"
|
||||
#include "elm_widget_fileselector.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FILESELECTOR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Fileselector"
|
||||
|
@ -1542,7 +1546,8 @@ _elm_fileselector_eo_base_constructor(Eo *obj, Elm_Fileselector_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILE_CHOOSER));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_interface_fileselector.h"
|
||||
#include "elm_widget_fileselector_button.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FILESELECTOR_BUTTON_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Fileselector_Button"
|
||||
|
@ -220,7 +224,8 @@ _elm_fileselector_button_eo_base_constructor(Eo *obj, Elm_Fileselector_Button_Da
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PUSH_BUTTON));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,11 @@
|
|||
#include "elm_interface_fileselector.h"
|
||||
#include "elm_widget_fileselector_entry.h"
|
||||
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FILESELECTOR_ENTRY_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Fileselector_Entry"
|
||||
|
@ -348,7 +353,8 @@ _elm_fileselector_entry_eo_base_constructor(Eo *obj, Elm_Fileselector_Entry_Data
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GROUPING));
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_hoversel.h"
|
||||
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_HOVERSEL_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Hoversel"
|
||||
|
@ -348,7 +353,8 @@ _elm_hoversel_eo_base_constructor(Eo *obj, Elm_Hoversel_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_multibuttonentry.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_MULTIBUTTONENTRY_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Multibuttonentry"
|
||||
|
@ -1616,7 +1620,8 @@ _elm_multibuttonentry_eo_base_constructor(Eo *obj, Elm_Multibuttonentry_Data *sd
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ENTRY));
|
||||
}
|
||||
|
||||
EOLIAN static Evas_Object*
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_naviframe.h"
|
||||
#include "elm_widget_container.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_NAVIFRAME_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Naviframe"
|
||||
|
@ -1498,7 +1502,8 @@ _elm_naviframe_eo_base_constructor(Eo *obj, Elm_Naviframe_Data *sd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PAGE_TAB_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static Elm_Object_Item*
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_widget_player.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PLAYER_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Player"
|
||||
|
@ -708,7 +712,8 @@ _elm_player_eo_base_constructor(Eo *obj, Elm_Player_Data *sd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_popup.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_POPUP_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Popup"
|
||||
|
@ -1572,7 +1576,8 @@ _elm_popup_eo_base_constructor(Eo *obj, Elm_Popup_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_POPUP_MENU));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_actionslider.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_ACTIONSLIDER_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Actionslider"
|
||||
|
@ -526,7 +530,8 @@ _elm_actionslider_eo_base_constructor(Eo *obj, Elm_Actionslider_Data *_pd EINA_U
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SLIDER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_bg.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_BG_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Bg"
|
||||
|
@ -133,7 +137,9 @@ EOLIAN static void
|
|||
_elm_bg_eo_base_constructor(Eo *obj, Elm_Bg_Data *_pd EINA_UNUSED)
|
||||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "els_box.h"
|
||||
#include "elm_widget_box.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_BOX_CLASS
|
||||
#define MY_CLASS_NAME "Elm_Box"
|
||||
#define MY_CLASS_NAME_LEGACY "elm_box"
|
||||
|
@ -437,7 +441,8 @@ _elm_box_eo_base_constructor(Eo *obj, Elm_Box_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_bubble.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_BUBBLE_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Bubble"
|
||||
|
@ -228,7 +232,8 @@ _elm_bubble_eo_base_constructor(Eo *obj, Elm_Bubble_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
#define ELM_INTERFACE_ATSPI_WIDGET_ACTION_PROTECTED
|
||||
#include "elm_interface_atspi_widget_action.eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Button"
|
||||
#define MY_CLASS_NAME_LEGACY "elm_button"
|
||||
|
||||
|
@ -332,7 +336,8 @@ _elm_button_eo_base_constructor(Eo *obj, Elm_Button_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PUSH_BUTTON));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_calendar.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_CALENDAR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Calendar"
|
||||
|
@ -1183,7 +1187,8 @@ _elm_calendar_eo_base_constructor(Eo *obj, Elm_Calendar_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_CALENDAR));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,11 @@
|
|||
#include "elm_widget_check.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_CHECK_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Check"
|
||||
|
@ -342,7 +347,8 @@ _elm_check_eo_base_constructor(Eo *obj, Elm_Check_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_CHECK_BOX));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_clock.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_CLOCK_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Clock"
|
||||
|
@ -801,7 +805,8 @@ _elm_clock_eo_base_constructor(Eo *obj, Elm_Clock_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TEXT));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_colorselector.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_COLORSELECTOR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Colorselector"
|
||||
|
@ -1867,7 +1871,8 @@ _elm_colorselector_eo_base_constructor(Eo *obj, Elm_Colorselector_Data *_pd EINA
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_COLOR_CHOOSER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_conform.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_CONFORMANT_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Conformant"
|
||||
|
@ -972,7 +976,8 @@ _elm_conformant_eo_base_constructor(Eo *obj, Elm_Conformant_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
|
||||
top = elm_widget_top_get(obj);
|
||||
_on_indicator_mode_changed(obj, top, NULL);
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_datetime.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_DATETIME_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Datetime"
|
||||
|
@ -873,7 +877,8 @@ _elm_datetime_eo_base_constructor(Eo *obj, Elm_Datetime_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_DATE_EDITOR));
|
||||
}
|
||||
|
||||
EOLIAN static const char*
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_dayselector.h"
|
||||
#include "elm_widget_container.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_DAYSELECTOR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Dayselector"
|
||||
|
@ -450,7 +454,8 @@ _elm_dayselector_eo_base_constructor(Eo *obj, Elm_Dayselector_Data *_pd EINA_UNU
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PANEL));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_diskselector.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define DISPLAY_ITEM_NUM_MIN 3
|
||||
|
||||
#define MY_CLASS ELM_DISKSELECTOR_CLASS
|
||||
|
@ -1436,7 +1440,8 @@ _elm_diskselector_eo_base_constructor(Eo *obj, Elm_Diskselector_Data *_pd EINA_U
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
|
|
|
@ -3660,7 +3660,7 @@ _elm_entry_eo_base_constructor(Eo *obj, Elm_Entry_Data *_pd EINA_UNUSED)
|
|||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TEXT));
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ENTRY));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_flip.h"
|
||||
#include "elm_widget_container.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FLIP_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Flip"
|
||||
|
@ -1866,7 +1870,8 @@ _elm_flip_eo_base_constructor(Eo *obj, Elm_Flip_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PAGE_TAB_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_flipselector.h"
|
||||
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FLIPSELECTOR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Flipselector"
|
||||
|
@ -605,7 +610,8 @@ _elm_flipselector_eo_base_constructor(Eo *obj, Elm_Flipselector_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_widget_frame.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_FRAME_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Frame"
|
||||
|
@ -204,7 +208,8 @@ _elm_frame_eo_base_constructor(Eo *obj, Elm_Frame_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FRAME));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_gengrid.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_PAN_CLASS ELM_GENGRID_PAN_CLASS
|
||||
|
||||
#define MY_PAN_CLASS_NAME "Elm_Gengrid_Pan"
|
||||
|
@ -3441,7 +3445,8 @@ _elm_gengrid_eo_base_constructor(Eo *obj, Elm_Gengrid_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TABLE));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
#include "elm_widget_genlist.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_PAN_CLASS ELM_GENLIST_PAN_CLASS
|
||||
|
||||
#define MY_PAN_CLASS_NAME "Elm_Genlist_Pan"
|
||||
|
@ -5396,7 +5400,8 @@ _elm_genlist_eo_base_constructor(Eo *obj, Elm_Genlist_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_glview.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_GLVIEW_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Glview"
|
||||
|
@ -269,7 +273,8 @@ _elm_glview_eo_base_constructor(Eo *obj, Elm_Glview_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
|
||||
|
||||
if (!sd->evasgl)
|
||||
{
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_grid.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_GRID_CLASS
|
||||
#define MY_CLASS_NAME "Elm_Grid"
|
||||
#define MY_CLASS_NAME_LEGACY "elm_grid"
|
||||
|
@ -168,7 +172,9 @@ EOLIAN static void
|
|||
_elm_grid_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
||||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_hover.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_HOVER_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Hover"
|
||||
|
@ -635,7 +639,8 @@ _elm_hover_eo_base_constructor(Eo *obj, Elm_Hover_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -11,6 +11,10 @@
|
|||
#define NON_EXISTING (void *)-1
|
||||
static const char *icon_theme = NULL;
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_ICON_CLASS
|
||||
#define MY_CLASS_NAME "Elm_Icon"
|
||||
#define MY_CLASS_NAME_LEGACY "elm_icon"
|
||||
|
@ -697,7 +701,8 @@ _elm_icon_eo_base_constructor(Eo *obj, Elm_Icon_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
#define ELM_INTERFACE_ATSPI_IMAGE_PROTECTED
|
||||
#include "elm_interface_atspi_image.eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define FMT_SIZE_T "%zu"
|
||||
|
||||
#define MY_CLASS ELM_IMAGE_CLASS
|
||||
|
@ -730,7 +734,8 @@ _elm_image_eo_base_constructor(Eo *obj, Elm_Image_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_widget_index.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_INDEX_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Index"
|
||||
|
@ -1077,7 +1081,8 @@ _elm_index_eo_base_constructor(Eo *obj, Elm_Index_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_inwin.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_INWIN_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Inwin"
|
||||
|
@ -114,7 +118,9 @@ _elm_inwin_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
}
|
||||
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj, evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_GLASS_PANE));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_widget_label.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_LABEL_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Label"
|
||||
|
@ -406,7 +410,8 @@ _elm_label_eo_base_constructor(Eo *obj, Elm_Label_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LABEL));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_LAYOUT_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Layout"
|
||||
|
@ -1708,7 +1712,8 @@ _elm_layout_eo_base_constructor(Eo *obj, Elm_Layout_Smart_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
}
|
||||
|
||||
EOLIAN static void _elm_layout_class_constructor(Eo_Class *klass)
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_list.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_LIST_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_List"
|
||||
|
@ -2365,7 +2369,8 @@ _elm_list_eo_base_constructor(Eo *obj, Elm_List_Data *sd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_map.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_PAN_CLASS ELM_MAP_PAN_CLASS
|
||||
|
||||
#define MY_PAN_CLASS_NAME "Elm_Map_Pan"
|
||||
|
@ -4197,7 +4201,8 @@ _elm_map_eo_base_constructor(Eo *obj, Elm_Map_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE_MAP));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_mapbuf.h"
|
||||
#include "elm_widget_container.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_MAPBUF_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Mapbuf"
|
||||
|
@ -294,7 +298,8 @@ _elm_mapbuf_eo_base_constructor(Eo *obj, Elm_Mapbuf_Data *sd EINA_UNUSED)
|
|||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE_MAP));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_menu.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_MENU_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Menu"
|
||||
|
@ -756,7 +760,8 @@ _elm_menu_eo_base_constructor(Eo *obj, Elm_Menu_Data *sd)
|
|||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
parent = eo_parent_get());
|
||||
parent = eo_parent_get(),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_MENU));
|
||||
|
||||
elm_menu_parent_set(obj, parent);
|
||||
elm_hover_target_set(sd->hv, sd->location);
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_notify.h"
|
||||
#include "elm_widget_container.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_NOTIFY_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Notify"
|
||||
|
@ -466,7 +470,8 @@ _elm_notify_eo_base_constructor(Eo *obj, Elm_Notify_Data *sd EINA_UNUSED)
|
|||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_NOTIFICATION));
|
||||
}
|
||||
|
||||
EAPI void
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
|
||||
#include "els_box.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PANEL_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Panel"
|
||||
|
@ -417,7 +421,8 @@ _elm_panel_eo_base_constructor(Eo *obj, Elm_Panel_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PANEL));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_widget_panes.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PANES_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Panes"
|
||||
|
@ -236,7 +240,8 @@ _elm_panes_eo_base_constructor(Eo *obj, Elm_Panes_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SPLIT_PANE));
|
||||
}
|
||||
|
||||
EINA_DEPRECATED EAPI void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_photo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PHOTO_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Photo"
|
||||
|
@ -315,7 +319,8 @@ _elm_photo_eo_base_constructor(Eo *obj, Elm_Photo_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_photocam.h"
|
||||
#include "elm_interface_scrollable.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_PAN_CLASS ELM_PHOTOCAM_PAN_CLASS
|
||||
|
||||
#define MY_PAN_CLASS_NAME "Elm_Photocam_Pan"
|
||||
|
@ -1416,7 +1420,8 @@ _elm_photocam_eo_base_constructor(Eo *obj, Elm_Photocam_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_plug.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PLUG_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Plug"
|
||||
|
@ -145,7 +149,8 @@ _elm_plug_eo_base_constructor(Eo *obj, void *sd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
}
|
||||
|
||||
EOLIAN static Evas_Object*
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
#include "Eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PREFS_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Prefs"
|
||||
|
@ -517,7 +521,8 @@ _elm_prefs_eo_base_constructor(Eo *obj, Elm_Prefs_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_elm_prefs_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_elm_prefs_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_REDUNDANT_OBJECT));
|
||||
}
|
||||
|
||||
static Eina_Bool
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_progressbar.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_PROGRESSBAR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Progressbar"
|
||||
|
@ -332,7 +336,8 @@ _elm_progressbar_eo_base_constructor(Eo *obj, Elm_Progressbar_Data *_pd EINA_UNU
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_PROGRESS_BAR));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_radio.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_RADIO_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Radio"
|
||||
|
@ -322,7 +326,8 @@ _elm_radio_eo_base_constructor(Eo *obj, Elm_Radio_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_RADIO_BUTTON));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -9,6 +9,10 @@
|
|||
#include "elm_widget_layout.h"
|
||||
#include "elm_widget_scroller.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_SCROLLER_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Scroller"
|
||||
|
@ -773,7 +777,8 @@ _elm_scroller_eo_base_constructor(Eo *obj, Elm_Scroller_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SCROLL_PANE));
|
||||
}
|
||||
|
||||
/* deprecated */
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_segment_control.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_SEGMENT_CONTROL_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Segment_Control"
|
||||
|
@ -687,7 +691,8 @@ _elm_segment_control_eo_base_constructor(Eo *obj, Elm_Segment_Control_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_LIST));
|
||||
}
|
||||
|
||||
EOLIAN static Elm_Object_Item*
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_separator.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_SEPARATOR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Separator"
|
||||
|
@ -70,7 +74,8 @@ _elm_separator_eo_base_constructor(Eo *obj, Elm_Separator_Data *sd EINA_UNUSED)
|
|||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SEPARATOR));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_slider.h"
|
||||
#include "elm_widget_layout.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_VALUE_PROTECTED
|
||||
#include "elm_interface_atspi_value.eo.h"
|
||||
|
||||
|
@ -917,7 +921,8 @@ _elm_slider_eo_base_constructor(Eo *obj, Elm_Slider_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SLIDER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_slideshow.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_SLIDESHOW_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Slideshow"
|
||||
|
@ -384,7 +388,8 @@ _elm_slideshow_eo_base_constructor(Eo *obj, Elm_Slideshow_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_DOCUMENT_PRESENTATION));
|
||||
}
|
||||
|
||||
EOLIAN static Elm_Object_Item*
|
||||
|
|
|
@ -10,6 +10,10 @@
|
|||
|
||||
#include "Eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_SPINNER_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Spinner"
|
||||
|
@ -847,7 +851,8 @@ _elm_spinner_eo_base_constructor(Eo *obj, Elm_Spinner_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_SPIN_BUTTON));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_table.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_TABLE_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Table"
|
||||
|
@ -223,7 +227,8 @@ _elm_table_eo_base_constructor(Eo *obj, void *_pd EINA_UNUSED)
|
|||
{
|
||||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY));
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_FILLER));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -7,6 +7,10 @@
|
|||
#include "elm_priv.h"
|
||||
#include "elm_widget_thumb.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Thumb"
|
||||
#define MY_CLASS_NAME_LEGACY "elm_thumb"
|
||||
|
||||
|
@ -594,7 +598,8 @@ _elm_thumb_eo_base_constructor(Eo *obj, Elm_Thumb_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set("Elm_Thumb"),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_IMAGE));
|
||||
|
||||
sd->obj = obj;
|
||||
}
|
||||
|
|
|
@ -8,6 +8,10 @@
|
|||
#include "elm_widget_toolbar.h"
|
||||
#include "els_box.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_TOOLBAR_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Toolbar"
|
||||
|
@ -2983,7 +2987,8 @@ _elm_toolbar_eo_base_constructor(Eo *obj, Elm_Toolbar_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_TOOL_BAR));
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
|
|
|
@ -13,6 +13,10 @@
|
|||
/* TODO: add buffering support to Emotion and display buffering
|
||||
* progress in the theme when needed */
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_VIDEO_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Video"
|
||||
|
@ -278,7 +282,8 @@ _elm_video_eo_base_constructor(Eo *obj, Elm_Video_Data *_pd EINA_UNUSED)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_ANIMATION));
|
||||
}
|
||||
|
||||
EOLIAN static Eina_Bool
|
||||
|
|
|
@ -14,6 +14,10 @@
|
|||
|
||||
#if !defined(HAVE_ELEMENTARY_WEB) || !defined(USE_WEBKIT2)
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
#define MY_CLASS ELM_WEB_CLASS
|
||||
|
||||
#define MY_CLASS_NAME "Elm_Web"
|
||||
|
@ -1231,7 +1235,8 @@ _elm_web_eo_base_constructor(Eo *obj, Elm_Web_Data *sd)
|
|||
eo_do_super(obj, MY_CLASS, eo_constructor());
|
||||
eo_do(obj,
|
||||
evas_obj_type_set(MY_CLASS_NAME_LEGACY),
|
||||
evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks));
|
||||
evas_obj_smart_callbacks_descriptions_set(_elm_web_smart_callbacks),
|
||||
elm_interface_atspi_accessible_role_set(ELM_ATSPI_ROLE_HTML_CONTAINER));
|
||||
}
|
||||
|
||||
EOLIAN static Evas_Object*
|
||||
|
|
|
@ -11,7 +11,65 @@ elm_suite_SOURCES = \
|
|||
elm_test_colorselector.c \
|
||||
elm_test_entry.c \
|
||||
elm_test_init.c \
|
||||
elm_test_list.c
|
||||
elm_test_list.c \
|
||||
elm_test_button.c \
|
||||
elm_test_image.c \
|
||||
elm_test_photo.c \
|
||||
elm_test_actionslider.c \
|
||||
elm_test_box.c \
|
||||
elm_test_table.c \
|
||||
elm_test_thumb.c \
|
||||
elm_test_menu.c \
|
||||
elm_test_photocam.c \
|
||||
elm_test_win.c \
|
||||
elm_test_icon.c \
|
||||
elm_test_prefs.c \
|
||||
elm_test_map.c \
|
||||
elm_test_glview.c \
|
||||
elm_test_web.c \
|
||||
elm_test_toolbar.c \
|
||||
elm_test_grid.c \
|
||||
elm_test_diskselector.c \
|
||||
elm_test_notify.c \
|
||||
elm_test_mapbuf.c \
|
||||
elm_test_flip.c \
|
||||
elm_test_layout.c \
|
||||
elm_test_slider.c \
|
||||
elm_test_ctxpopup.c \
|
||||
elm_test_separator.c \
|
||||
elm_test_calendar.c \
|
||||
elm_test_inwin.c \
|
||||
elm_test_gengrid.c \
|
||||
elm_test_radio.c \
|
||||
elm_test_scroller.c \
|
||||
elm_test_frame.c \
|
||||
elm_test_datetime.c \
|
||||
elm_test_player.c \
|
||||
elm_test_bg.c \
|
||||
elm_test_video.c \
|
||||
elm_test_segmentcontrol.c \
|
||||
elm_test_progressbar.c \
|
||||
elm_test_fileselector.c \
|
||||
elm_test_fileselector_button.c \
|
||||
elm_test_fileselector_entry.c \
|
||||
elm_test_hoversel.c \
|
||||
elm_test_multibuttonentry.c \
|
||||
elm_test_naviframe.c \
|
||||
elm_test_popup.c \
|
||||
elm_test_bubble.c \
|
||||
elm_test_clock.c \
|
||||
elm_test_conformant.c \
|
||||
elm_test_dayselector.c \
|
||||
elm_test_flipselector.c \
|
||||
elm_test_genlist.c \
|
||||
elm_test_hover.c \
|
||||
elm_test_index.c \
|
||||
elm_test_label.c \
|
||||
elm_test_panel.c \
|
||||
elm_test_panes.c \
|
||||
elm_test_slideshow.c \
|
||||
elm_test_spinner.c \
|
||||
elm_test_plug.c
|
||||
|
||||
elm_suite_CPPFLAGS = \
|
||||
-DTESTS_BUILD_DIR=\"${top_builddir}/src/tests\" \
|
||||
|
|
|
@ -19,7 +19,65 @@ static const Elementary_Test_Case etc[] = {
|
|||
{ "elm_colorselector", elm_test_colorselector },
|
||||
{ "elm_entry", elm_test_entry},
|
||||
{ "elm_atspi", elm_test_atspi},
|
||||
{ "elm_button", elm_test_button},
|
||||
{ "elm_image", elm_test_image},
|
||||
{ "elm_list", elm_test_list},
|
||||
{ "elm_photo", elm_test_photo},
|
||||
{ "elm_actionslider", elm_test_actionslider},
|
||||
{ "elm_box", elm_test_box},
|
||||
{ "elm_table", elm_test_table},
|
||||
{ "elm_thumb", elm_test_thumb},
|
||||
{ "elm_menu", elm_test_menu},
|
||||
{ "elm_photocam", elm_test_photocam},
|
||||
{ "elm_win", elm_test_win},
|
||||
{ "elm_icon", elm_test_icon},
|
||||
{ "elm_prefs", elm_test_prefs},
|
||||
{ "elm_map", elm_test_map},
|
||||
{ "elm_glview", elm_test_glview},
|
||||
{ "elm_web", elm_test_web},
|
||||
{ "elm_toolbar", elm_test_toolbar},
|
||||
{ "elm_grid", elm_test_grid},
|
||||
{ "elm_diskselector", elm_test_diskselector},
|
||||
{ "elm_notify", elm_test_notify},
|
||||
{ "elm_mapbuf", elm_test_mapbuf},
|
||||
{ "elm_flip", elm_test_flip},
|
||||
{ "elm_layout", elm_test_layout},
|
||||
{ "elm_slider", elm_test_slider},
|
||||
{ "elm_ctxpopup", elm_test_ctxpopup},
|
||||
{ "elm_separator", elm_test_separator},
|
||||
{ "elm_calendar", elm_test_calendar},
|
||||
{ "elm_inwin", elm_test_inwin},
|
||||
{ "elm_gengrid", elm_test_gengrid},
|
||||
{ "elm_radio", elm_test_radio},
|
||||
{ "elm_scroller", elm_test_scroller},
|
||||
{ "elm_frame", elm_test_frame},
|
||||
{ "elm_datetime", elm_test_datetime},
|
||||
{ "elm_player", elm_test_player},
|
||||
{ "elm_bg", elm_test_bg},
|
||||
{ "elm_video", elm_test_video},
|
||||
{ "elm_segmentcontrol", elm_test_segmentcontrol},
|
||||
{ "elm_progressbar", elm_test_progressbar},
|
||||
{ "elm_fileselector", elm_test_fileselector},
|
||||
{ "elm_fileselector_button", elm_test_fileselector_button},
|
||||
{ "elm_fileselector_entry", elm_test_fileselector_entry},
|
||||
{ "elm_hoversel", elm_test_hoversel},
|
||||
{ "elm_multibuttonentry", elm_test_multibuttonentry},
|
||||
{ "elm_naviframe", elm_test_naviframe},
|
||||
{ "elm_popup", elm_test_popup},
|
||||
{ "elm_bubble", elm_test_bubble},
|
||||
{ "elm_clock", elm_test_clock},
|
||||
{ "elm_conformant", elm_test_conformant},
|
||||
{ "elm_dayselector", elm_test_dayselector},
|
||||
{ "elm_flipselector", elm_test_flipselector},
|
||||
{ "elm_genlist", elm_test_genlist},
|
||||
{ "elm_hover", elm_test_hover},
|
||||
{ "elm_index", elm_test_index},
|
||||
{ "elm_label", elm_test_label},
|
||||
{ "elm_panel", elm_test_panel},
|
||||
{ "elm_panes", elm_test_panes},
|
||||
{ "elm_slideshow", elm_test_slideshow},
|
||||
{ "elm_spinner", elm_test_spinner},
|
||||
{ "elm_plug", elm_test_plug},
|
||||
{ NULL, NULL }
|
||||
};
|
||||
|
||||
|
|
|
@ -8,6 +8,64 @@ void elm_test_check(TCase *tc);
|
|||
void elm_test_colorselector(TCase *tc);
|
||||
void elm_test_entry(TCase *tc);
|
||||
void elm_test_atspi(TCase *tc);
|
||||
void elm_test_button(TCase *tc);
|
||||
void elm_test_image(TCase *tc);
|
||||
void elm_test_list(TCase *tc);
|
||||
void elm_test_photo(TCase *tc);
|
||||
void elm_test_actionslider(TCase *tc);
|
||||
void elm_test_box(TCase *tc);
|
||||
void elm_test_table(TCase *tc);
|
||||
void elm_test_thumb(TCase *tc);
|
||||
void elm_test_menu(TCase *tc);
|
||||
void elm_test_photocam(TCase *tc);
|
||||
void elm_test_win(TCase *tc);
|
||||
void elm_test_icon(TCase *tc);
|
||||
void elm_test_prefs(TCase *tc);
|
||||
void elm_test_map(TCase *tc);
|
||||
void elm_test_glview(TCase *tc);
|
||||
void elm_test_web(TCase *tc);
|
||||
void elm_test_toolbar(TCase *tc);
|
||||
void elm_test_grid(TCase *tc);
|
||||
void elm_test_diskselector(TCase *tc);
|
||||
void elm_test_notify(TCase *tc);
|
||||
void elm_test_mapbuf(TCase *tc);
|
||||
void elm_test_flip(TCase *tc);
|
||||
void elm_test_layout(TCase *tc);
|
||||
void elm_test_slider(TCase *tc);
|
||||
void elm_test_ctxpopup(TCase *tc);
|
||||
void elm_test_separator(TCase *tc);
|
||||
void elm_test_calendar(TCase *tc);
|
||||
void elm_test_inwin(TCase *tc);
|
||||
void elm_test_gengrid(TCase *tc);
|
||||
void elm_test_radio(TCase *tc);
|
||||
void elm_test_scroller(TCase *tc);
|
||||
void elm_test_frame(TCase *tc);
|
||||
void elm_test_datetime(TCase *tc);
|
||||
void elm_test_player(TCase *tc);
|
||||
void elm_test_bg(TCase *tc);
|
||||
void elm_test_video(TCase *tc);
|
||||
void elm_test_segmentcontrol(TCase *tc);
|
||||
void elm_test_progressbar(TCase *tc);
|
||||
void elm_test_fileselector(TCase *tc);
|
||||
void elm_test_fileselector_button(TCase *tc);
|
||||
void elm_test_fileselector_entry(TCase *tc);
|
||||
void elm_test_hoversel(TCase *tc);
|
||||
void elm_test_multibuttonentry(TCase *tc);
|
||||
void elm_test_naviframe(TCase *tc);
|
||||
void elm_test_popup(TCase *tc);
|
||||
void elm_test_bubble(TCase *tc);
|
||||
void elm_test_clock(TCase *tc);
|
||||
void elm_test_conformant(TCase *tc);
|
||||
void elm_test_dayselector(TCase *tc);
|
||||
void elm_test_flipselector(TCase *tc);
|
||||
void elm_test_genlist(TCase *tc);
|
||||
void elm_test_hover(TCase *tc);
|
||||
void elm_test_index(TCase *tc);
|
||||
void elm_test_label(TCase *tc);
|
||||
void elm_test_panel(TCase *tc);
|
||||
void elm_test_panes(TCase *tc);
|
||||
void elm_test_slideshow(TCase *tc);
|
||||
void elm_test_spinner(TCase *tc);
|
||||
void elm_test_plug(TCase *tc);
|
||||
|
||||
#endif /* _ELM_SUITE_H */
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *actionslider;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "actionslider", ELM_WIN_BASIC);
|
||||
|
||||
actionslider = elm_actionslider_add(win);
|
||||
eo_do(actionslider, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_SLIDER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_actionslider(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *bg;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "bg", ELM_WIN_BASIC);
|
||||
|
||||
bg = elm_bg_add(win);
|
||||
eo_do(bg, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_bg(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *box;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "box", ELM_WIN_BASIC);
|
||||
|
||||
box = elm_box_add(win);
|
||||
eo_do(box, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILLER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_box(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *bubble;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "bubble", ELM_WIN_BASIC);
|
||||
|
||||
bubble = elm_bubble_add(win);
|
||||
eo_do(bubble, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILLER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_bubble(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *button;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "button", ELM_WIN_BASIC);
|
||||
|
||||
button = elm_button_add(win);
|
||||
eo_do(button, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_PUSH_BUTTON);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_button(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *calendar;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "calendar", ELM_WIN_BASIC);
|
||||
|
||||
calendar = elm_calendar_add(win);
|
||||
eo_do(calendar, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_CALENDAR);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_calendar(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -5,6 +5,10 @@
|
|||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
START_TEST (elm_check_onoff_text)
|
||||
{
|
||||
Evas_Object *win, *check;
|
||||
|
@ -49,8 +53,26 @@ START_TEST (elm_check_state)
|
|||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *check;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
|
||||
|
||||
check = elm_check_add(win);
|
||||
eo_do(check, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_CHECK_BOX);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_check(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_check_onoff_text);
|
||||
tcase_add_test(tc, elm_check_state);
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *clock;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "clock", ELM_WIN_BASIC);
|
||||
|
||||
clock = elm_clock_add(win);
|
||||
eo_do(clock, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_TEXT);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_clock(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
@ -5,6 +5,10 @@
|
|||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
START_TEST (elm_colorselector_palette)
|
||||
{
|
||||
Evas_Object *win, *c;
|
||||
|
@ -32,7 +36,25 @@ START_TEST (elm_colorselector_palette)
|
|||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *c;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "colorselector", ELM_WIN_BASIC);
|
||||
|
||||
c = elm_colorselector_add(win);
|
||||
eo_do(c, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_COLOR_CHOOSER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_colorselector(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_colorselector_palette);
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *conformant;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "conformant", ELM_WIN_BASIC);
|
||||
|
||||
conformant = elm_conformant_add(win);
|
||||
eo_do(conformant, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILLER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_conformant(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *ctxpopup;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
|
||||
|
||||
ctxpopup = elm_ctxpopup_add(win);
|
||||
eo_do(ctxpopup, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_POPUP_MENU);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_ctxpopup(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *datetime;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "datetime", ELM_WIN_BASIC);
|
||||
|
||||
datetime = elm_datetime_add(win);
|
||||
eo_do(datetime, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_DATE_EDITOR);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_datetime(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *dayselector;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "dayselector", ELM_WIN_BASIC);
|
||||
|
||||
dayselector = elm_dayselector_add(win);
|
||||
eo_do(dayselector, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_PANEL);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_dayselector(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *diskselector;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "diskselector", ELM_WIN_BASIC);
|
||||
|
||||
diskselector = elm_diskselector_add(win);
|
||||
eo_do(diskselector, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_diskselector(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -6,15 +6,18 @@
|
|||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_TEXT_PROTECTED
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_text.h"
|
||||
#include "elm_interface_atspi_text.eo.h"
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
START_TEST (elm_entry_del)
|
||||
{
|
||||
Evas_Object *win, *entry;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "check", ELM_WIN_BASIC);
|
||||
win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
|
||||
|
||||
entry = elm_entry_add(win);
|
||||
elm_object_text_set(entry, "TEST");
|
||||
|
@ -349,6 +352,23 @@ START_TEST (elm_entry_atspi_text_attributes)
|
|||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *entry;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "entry", ELM_WIN_BASIC);
|
||||
|
||||
entry = elm_entry_add(win);
|
||||
eo_do(entry, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_ENTRY);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_entry(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_entry_del);
|
||||
|
@ -361,4 +381,5 @@ void elm_test_entry(TCase *tc)
|
|||
tcase_add_test(tc, elm_entry_atspi_text_text_get);
|
||||
tcase_add_test(tc, elm_entry_atspi_text_selections);
|
||||
tcase_add_test(tc, elm_entry_atspi_text_attributes);
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,34 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *fileselector;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "fileselector", ELM_WIN_BASIC);
|
||||
|
||||
fileselector = elm_fileselector_add(win);
|
||||
eo_do(fileselector, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILE_CHOOSER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_fileselector(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *fs_button;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "fileselector_button", ELM_WIN_BASIC);
|
||||
|
||||
fs_button = elm_fileselector_button_add(win);
|
||||
eo_do(fs_button, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_PUSH_BUTTON);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_fileselector_button(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *fs_entry;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "fileselectorentry", ELM_WIN_BASIC);
|
||||
|
||||
fs_entry = elm_fileselector_entry_add(win);
|
||||
eo_do(fs_entry, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_GROUPING);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_fileselector_entry(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *flip;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "flip", ELM_WIN_BASIC);
|
||||
|
||||
flip = elm_flip_add(win);
|
||||
eo_do(flip, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_PAGE_TAB_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_flip(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *flipselector;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "flipselector", ELM_WIN_BASIC);
|
||||
|
||||
flipselector = elm_flipselector_add(win);
|
||||
eo_do(flipselector, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_flipselector(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *frame;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "frame", ELM_WIN_BASIC);
|
||||
|
||||
frame = elm_frame_add(win);
|
||||
eo_do(frame, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FRAME);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_frame(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *gengrid;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "gengrid", ELM_WIN_BASIC);
|
||||
|
||||
gengrid = elm_gengrid_add(win);
|
||||
eo_do(gengrid, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_TABLE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_gengrid(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *genlist;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "genlist", ELM_WIN_BASIC);
|
||||
|
||||
genlist = elm_genlist_add(win);
|
||||
eo_do(genlist, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_genlist(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *glview;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "glview", ELM_WIN_BASIC);
|
||||
|
||||
glview = elm_glview_add(win);
|
||||
eo_do(glview, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_ANIMATION);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_glview(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *grid;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "grid", ELM_WIN_BASIC);
|
||||
|
||||
grid = elm_grid_add(win);
|
||||
eo_do(grid, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILLER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_grid(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *hover;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "hover", ELM_WIN_BASIC);
|
||||
|
||||
hover = elm_hover_add(win);
|
||||
eo_do(hover, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_hover(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *hoversel;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "hoversel", ELM_WIN_BASIC);
|
||||
|
||||
hoversel = elm_hoversel_add(win);
|
||||
eo_do(hoversel, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_hoversel(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *icon;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "icon", ELM_WIN_BASIC);
|
||||
|
||||
icon = elm_icon_add(win);
|
||||
eo_do(icon, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_icon(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *image;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "image", ELM_WIN_BASIC);
|
||||
|
||||
image = elm_image_add(win);
|
||||
eo_do(image, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_IMAGE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_image(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *index;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "index", ELM_WIN_BASIC);
|
||||
|
||||
index = elm_index_add(win);
|
||||
eo_do(index, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_index(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *inwin;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "inwin", ELM_WIN_BASIC);
|
||||
|
||||
inwin = elm_win_inwin_add(win);
|
||||
eo_do(inwin, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_GLASS_PANE);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_inwin(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *label;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "label", ELM_WIN_BASIC);
|
||||
|
||||
label = elm_label_add(win);
|
||||
eo_do(label, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LABEL);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_label(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *layout;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "layout", ELM_WIN_BASIC);
|
||||
|
||||
layout = elm_layout_add(win);
|
||||
eo_do(layout, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_FILLER);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_layout(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -8,6 +8,10 @@
|
|||
#define ELM_INTERFACE_ATSPI_SELECTION_PROTECTED
|
||||
#include "elm_interface_atspi_selection.eo.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
START_TEST (elm_list_atspi_selection_selected_children_count_get)
|
||||
{
|
||||
Evas_Object *win, *list;
|
||||
|
@ -178,6 +182,23 @@ START_TEST (elm_list_atspi_selection_child_deselect)
|
|||
}
|
||||
END_TEST
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *list;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "list", ELM_WIN_BASIC);
|
||||
|
||||
list = elm_list_add(win);
|
||||
eo_do(list, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_LIST);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_list(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_list_atspi_selection_selected_children_count_get);
|
||||
|
@ -187,4 +208,5 @@ void elm_test_list(TCase *tc)
|
|||
tcase_add_test(tc, elm_list_atspi_selection_all_children_select);
|
||||
tcase_add_test(tc, elm_list_atspi_selection_clear);
|
||||
tcase_add_test(tc, elm_list_atspi_selection_child_deselect);
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
||||
|
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *map;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "map", ELM_WIN_BASIC);
|
||||
|
||||
map = elm_map_add(win);
|
||||
eo_do(map, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_IMAGE_MAP);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_map(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
|
@ -0,0 +1,33 @@
|
|||
#ifdef HAVE_CONFIG_H
|
||||
# include "elementary_config.h"
|
||||
#endif
|
||||
|
||||
#include <Elementary.h>
|
||||
#include "elm_suite.h"
|
||||
|
||||
#define ELM_INTERFACE_ATSPI_ACCESSIBLE_PROTECTED
|
||||
#include "elm_interface_atspi_accessible.h"
|
||||
#include "elm_interface_atspi_accessible.eo.h"
|
||||
|
||||
|
||||
START_TEST (elm_atspi_role_get)
|
||||
{
|
||||
Evas_Object *win, *mapbuf;
|
||||
Elm_Atspi_Role role;
|
||||
|
||||
elm_init(1, NULL);
|
||||
win = elm_win_add(NULL, "mapbuf", ELM_WIN_BASIC);
|
||||
|
||||
mapbuf = elm_mapbuf_add(win);
|
||||
eo_do(mapbuf, role = elm_interface_atspi_accessible_role_get());
|
||||
|
||||
ck_assert(role == ELM_ATSPI_ROLE_IMAGE_MAP);
|
||||
|
||||
elm_shutdown();
|
||||
}
|
||||
END_TEST
|
||||
|
||||
void elm_test_mapbuf(TCase *tc)
|
||||
{
|
||||
tcase_add_test(tc, elm_atspi_role_get);
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue