[access] export functions: elm_access_say(); elm_access_highlight_set();

SVN revision: 83620
This commit is contained in:
Shinwoo Kim 2013-02-05 10:11:42 +00:00
parent dec42885c9
commit f495b4514d
2 changed files with 41 additions and 0 deletions

View File

@ -870,6 +870,22 @@ elm_access_activate_cb_set(Evas_Object *obj,
ac->activate_data = data;
}
EAPI void
elm_access_say(const char *text)
{
if (!text) return;
_elm_access_say(text);
}
EAPI void
elm_access_highlight_set(Evas_Object* obj)
{
if (!obj) return;
_access_obj_over_timeout_cb(obj);
}
EAPI void
elm_access_external_info_set(Evas_Object *obj, const char *text)
{

View File

@ -112,6 +112,31 @@ EAPI void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb
*/
EAPI void elm_access_activate_cb_set(Evas_Object *obj, Elm_Access_Activate_Cb func, void *data);
/**
* @brief Read out text information directly.
* @since 1.8
*
* @param text The text information that will be read
*
* This function will not free the @p text internally.
*
* @ingroup Access
*/
EAPI void elm_access_say(const char *text);
/**
* @brief Give the highlight to the object directly.
* @since 1.8
*
* @param obj The object that will have the highlight and its information be read.
*
* The object should be an elementary object or an access object.
*
* @see elm_access_object_get
* @ingroup Access
*/
EAPI void elm_access_highlight_set(Evas_Object* obj);
//TODO: remvoe below - use elm_access_text_set(); or elm_access_cb_set();
EINA_DEPRECATED EAPI void elm_access_external_info_set(Evas_Object *obj, const char *text);
EINA_DEPRECATED EAPI char *elm_access_external_info_get(const Evas_Object *obj);