evas_obj_type_set(MY_CLASS_NAME_LEGACY));
}
-Evas_Object *
+EAPI Evas_Object *
elm_access_object_register(Evas_Object *obj, Evas_Object *parent)
{
return _access_object_register(obj, parent);
}
-void
+EAPI void
elm_access_object_unregister(Evas_Object *obj)
{
_access_object_unregister(obj);
}
-Evas_Object *
+EAPI Evas_Object *
elm_access_object_get(const Evas_Object *obj)
{
return evas_object_data_get(obj, "_part_access_obj");
}
-void
+EAPI void
elm_access_info_set(Evas_Object *obj, int type, const char *text)
{
_elm_access_text_set(_elm_access_info_get(obj), type, text);
}
-char *
+EAPI char *
elm_access_info_get(const Evas_Object *obj, int type)
{
return _elm_access_text_get(_elm_access_info_get(obj), type, obj);
}
-void
+EAPI void
elm_access_info_cb_set(Evas_Object *obj, int type,
Elm_Access_Info_Cb func, const void *data)
{
_elm_access_callback_set(_elm_access_info_get(obj), type, func, data);
}
-void
+EAPI void
elm_access_activate_cb_set(Evas_Object *obj,
Elm_Access_Activate_Cb func, void *data)
{
ac->activate_data = data;
}
-void
+EAPI void
elm_access_say(const char *text)
{
if (!text) return;
_elm_access_say(text);
}
-void
+EAPI void
elm_access_highlight_set(Evas_Object* obj)
{
_elm_access_highlight_set(obj);
}
-Eina_Bool
+EAPI Eina_Bool
elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info)
{
Evas *evas;
return EINA_TRUE;
}
-void
+EAPI void
elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data)
{
Action_Info *a;
a->fn[type].cb = cb;
a->fn[type].user_data = (void *)data;
}
-
EAPI void
elm_access_external_info_set(Evas_Object *obj, const char *text)
{
return _elm_access_text_get(ac, ELM_ACCESS_CONTEXT_INFO, obj);
}
-void
+EAPI void
elm_access_highlight_next_set(Evas_Object *obj, Elm_Highlight_Direction dir, Evas_Object *next)
{
EINA_SAFETY_ON_FALSE_RETURN(obj);
};
/**
- * @since 1.9
+ * @since 1.8
* @typedef Elm_Access_Info_Type
*/
typedef enum _Elm_Access_Info_Type Elm_Access_Info_Type;
};
/**
- * @since 1.9
+ * @since 1.8
* @typedef Elm_Access_Action_Type
*/
typedef enum _Elm_Access_Action_Type Elm_Access_Action_Type;
};
/**
- * @since 1.9
+ * @since 1.8
* @typedef Elm_Access_Action_Info
*/
typedef struct _Elm_Access_Action_Info Elm_Access_Action_Info;
};
/**
- * @since 1.9
+ * @since 1.8
* @typedef Elm_Highlight_Direction
*/
typedef enum _Elm_Highlight_Direction Elm_Highlight_Direction;
/**
- * @since 1.9
+ * @since 1.8
* @typedef Elm_Access_Action_Cb
*
* User callback to make access object do specific action
/**
* @brief Register evas object as an accessible object.
- * @since 1.9
+ * @since 1.8
*
* @param obj The evas object to register as an accessible object.
* @param parent The elementary object which is used for creating
*
* @ingroup Access
*/
-Evas_Object *elm_access_object_register(Evas_Object *obj, Evas_Object *parent);
+EAPI Evas_Object *elm_access_object_register(Evas_Object *obj, Evas_Object *parent);
/**
* @brief Unregister accessible object.
- * @since 1.9
+ * @since 1.8
*
* @param obj The Evas object to unregister accessible object.
*
* @ingroup Access
*/
-void elm_access_object_unregister(Evas_Object *obj);
+EAPI void elm_access_object_unregister(Evas_Object *obj);
/**
* @brief Get an accessible object of the evas object.
- * @since 1.9
+ * @since 1.8
*
* @param obj The evas object.
* @return Accessible object of the evas object or NULL for any error
*
* @ingroup Access
*/
-Evas_Object *elm_access_object_get(const Evas_Object *obj);
+EAPI Evas_Object *elm_access_object_get(const Evas_Object *obj);
/**
* @brief Set text to give information for specific type.
- * @since 1.9
+ * @since 1.8
*
* @param obj Accessible object.
* @param type The type of content that will be read
* @see elm_access_info_cb_set
* @ingroup Access
*/
-void elm_access_info_set(Evas_Object *obj, int type, const char *text);
+EAPI void elm_access_info_set(Evas_Object *obj, int type, const char *text);
/**
* @brief Set text to give information for specific type.
- * @since 1.9
+ * @since 1.8
*
* @param obj Accessible object.
* @param type The type of content that will be read
* @see elm_access_info_cb_set
* @ingroup Access
*/
-char *elm_access_info_get(const Evas_Object *obj, int type);
+EAPI char *elm_access_info_get(const Evas_Object *obj, int type);
/**
* @brief Set content callback to give information for specific type.
- * @since 1.9
+ * @since 1.8
*
* @param obj Accessible object.
* @param type The type of content that will be read
*
* @ingroup Access
*/
-void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb func, const void *data);
+EAPI void elm_access_info_cb_set(Evas_Object *obj, int type, Elm_Access_Info_Cb func, const void *data);
/**
* @brief Set activate callback to activate highlight object.
- * @since 1.9
+ * @since 1.8
*
* @param obj Accessible object.
* @param func The function to be called when the activate gesture is detected
*
* @ingroup Access
*/
-void elm_access_activate_cb_set(Evas_Object *obj, Elm_Access_Activate_Cb func, void *data);
+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.9
+ * @since 1.8
*
* @param text The text information that will be read
*
*
* @ingroup Access
*/
-void elm_access_say(const char *text);
+EAPI void elm_access_say(const char *text);
/**
* @brief Give the highlight to the object directly.
- * @since 1.9
+ * @since 1.8
*
* @param obj The object that will have the highlight and its information be read.
*
* @see elm_access_object_get
* @ingroup Access
*/
-void elm_access_highlight_set(Evas_Object* obj);
+EAPI void elm_access_highlight_set(Evas_Object* obj);
/**
* @brief Do the accessibility action base on given object.
- * @since 1.9
+ * @since 1.8
*
* @param obj The object that could be an any object. it would be useful to use a container widget.
* @param type The type of accessibility action.
*
* @ingroup Access
*/
-Eina_Bool elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info);
+EAPI Eina_Bool elm_access_action(Evas_Object *obj, const Elm_Access_Action_Type type, Elm_Access_Action_Info *action_info);
/**
* @brief Set a callback function to a given accessibility action type
- * @since 1.9
+ * @since 1.8
*
* @param obj The object to attach a callback to
* @param type The type of accessibility action.
*
* @ingroup Access
*/
-void elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data);
+EAPI void elm_access_action_cb_set(Evas_Object *obj, const Elm_Access_Action_Type type, const Elm_Access_Action_Cb cb, const void *data);
/**
* @brief Set the next access object for highlight.
- * @since 1.9
+ * @since 1.8
*
* @param obj The object is previous access object of next for hilight.
* @param dir Access direction same as Focus direction
*
* @ingroup Access
*/
-void
+EAPI void
elm_access_highlight_next_set(Evas_Object *obj, Elm_Highlight_Direction dir, Evas_Object *next);