Raster finished accessibility. So I fixed it too.
SVN revision: 62737
* @ingroup General
*/
EAPI void elm_object_item_access_info_set(Elm_Object_Item *it, const char *txt);
-
+
#define elm_object_item_text_get(it) elm_object_item_text_part_get((it), NULL)
{
Evas_Coord x, y;
Evas_Object *o;
-
+
o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp");
if (!o) return;
evas_object_geometry_get(obj, &x, &y, NULL, NULL);
{
Evas_Coord w, h;
Evas_Object *o;
-
+
o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp");
if (!o) return;
evas_object_geometry_get(obj, NULL, NULL, &w, &h);
{
Evas_Object *o;
Evas_Coord x, y, w, h;
-
+
o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp");
if (!o)
{
_elm_access_object_unhilight(Evas_Object *obj)
{
Evas_Object *o, *ptarget;
-
+
o = evas_object_name_find(evas_object_evas_get(obj), "_elm_access_disp");
if (!o) return;
ptarget = evas_object_data_get(o, "_elm_access_target");
{
Elm_Access_Info *ac = ((Elm_Widget_Item *)data)->access;
if (!ac) return;
-
+
_elm_access_object_unhilight(((Elm_Widget_Item *)data)->view);
if (ac->delay_timer)
{
// TODO: convert Elementary to subclassing of Evas_Smart_Class
// TODO: and save some bytes, making descriptions per-class and not instance!
evas_object_smart_callbacks_descriptions_set(obj, _signals);
-
+
_elm_access_object_register(obj, wd->chk);
_elm_access_text_set(_elm_access_object_get(obj),
ELM_ACCESS_TYPE, E_("Check"));
_select(void *data, Evas_Object *obj __UNUSED__, const char *emission __UNUSED__, const char *source __UNUSED__)
{
Elm_Toolbar_Item *it = data;
-
+
if ((_elm_config->access_mode == ELM_ACCESS_MODE_OFF) ||
(_elm_access_2nd_click_timeout(it->base.view)))
{
ELM_ACCESS_INFO, _access_info_cb, it);
_elm_access_callback_set(_elm_access_item_get((Elm_Widget_Item *)it),
ELM_ACCESS_STATE, _access_state_cb, it);
-
+
if (_item_icon_set(icon_obj, "toolbar/", icon))
{
it->icon = icon_obj;
if (item->view)
evas_object_del(item->view);
-
+
if (item->access)
{
_elm_access_clear(item->access);