From fd3ae33eac1da1be761c587379c50db1b3ed87fc Mon Sep 17 00:00:00 2001 From: ChunEon Park Date: Wed, 22 Jun 2011 05:32:50 +0000 Subject: [PATCH] elementary/animator - * DEPRECATED. SVN revision: 60571 --- legacy/elementary/src/lib/Elementary.h.in | 32 +++++++++++------------ 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/legacy/elementary/src/lib/Elementary.h.in b/legacy/elementary/src/lib/Elementary.h.in index 61875691b6..e8837096c5 100644 --- a/legacy/elementary/src/lib/Elementary.h.in +++ b/legacy/elementary/src/lib/Elementary.h.in @@ -3518,7 +3518,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * there is no need to call elm_animator_del(), when the parent is deleted it * will delete the animator. */ - EAPI Elm_Animator* elm_animator_add(Evas_Object *parent); + EINA_DEPRECATED EAPI Elm_Animator* elm_animator_add(Evas_Object *parent); /** * Deletes the animator freeing any resources it used. If the animator was * created with a NULL parent this must be called, otherwise it will be @@ -3526,14 +3526,14 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * * @param[in] animator Animator object */ - EAPI void elm_animator_del(Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_del(Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Set the duration of the animation. * * @param[in] animator Animator object * @param[in] duration Duration in second */ - EAPI void elm_animator_duration_set(Elm_Animator *animator, double duration) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_duration_set(Elm_Animator *animator, double duration) EINA_ARG_NONNULL(1); /** * @brief Set the callback function for animator operation. * @@ -3545,7 +3545,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * indicates how far along the animation should be. It is the job of @p func to * actually change the state of any object(or objects) that are being animated. */ - EAPI void elm_animator_operation_callback_set(Elm_Animator *animator, Elm_Animator_Operation_Cb func, void *data) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_operation_callback_set(Elm_Animator *animator, Elm_Animator_Operation_Cb func, void *data) EINA_ARG_NONNULL(1); /** * Set the callback function for the when the animation ends. * @@ -3555,7 +3555,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * * @warning @a func will not be executed if elm_animator_stop() is called. */ - EAPI void elm_animator_completion_callback_set(Elm_Animator *animator, Elm_Animator_Completion_Cb func, void *data) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_completion_callback_set(Elm_Animator *animator, Elm_Animator_Completion_Cb func, void *data) EINA_ARG_NONNULL(1); /** * @brief Stop animator. * @@ -3566,14 +3566,14 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * will not be executed again) and it can't be restarted using * elm_animator_resume(). */ - EAPI void elm_animator_stop(Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_stop(Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Set the animator repeat count. * * @param[in] animator Animator object * @param[in] repeat_cnt Repeat count */ - EAPI void elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_repeat_set(Elm_Animator *animator, unsigned int repeat_cnt) EINA_ARG_NONNULL(1); /** * @brief Start animation. * @@ -3583,21 +3583,21 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * and operation callback) have been set. Once started the animation will * run until complete or elm_animator_stop() is called. */ - EAPI void elm_animator_animate(Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_animate(Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Sets the animation @ref Elm_Animator_Curve_Style "acceleration style". * * @param[in] animator Animator object * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR */ - EAPI void elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_curve_style_set(Elm_Animator *animator, Elm_Animator_Curve_Style cs) EINA_ARG_NONNULL(1); /** * Gets the animation @ref Elm_Animator_Curve_Style "acceleration style". * * @param[in] animator Animator object * @param[in] cs Curve style. Default is ELM_ANIMATOR_CURVE_LINEAR */ - EAPI Elm_Animator_Curve_Style elm_animator_curve_style_get(const Elm_Animator *animator); EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI Elm_Animator_Curve_Style elm_animator_curve_style_get(const Elm_Animator *animator); EINA_ARG_NONNULL(1); /** * @brief Sets wether the animation should be automatically reversed. * @@ -3610,13 +3610,13 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * Runnin an animation in reverse is accomplished by calling the operation * callback with a frame value starting at 1 and diminshing until 0. */ - EAPI void elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_auto_reverse_set(Elm_Animator *animator, Eina_Bool reverse) EINA_ARG_NONNULL(1); /** * Gets wether the animation will automatically reversed * * @param[in] animator Animator object */ - EAPI Eina_Bool elm_animator_auto_reverse_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI Eina_Bool elm_animator_auto_reverse_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Gets the status for the animator operation. The status of the animator @b * doesn't take in to account elm_animator_pause() or elm_animator_resume(), it @@ -3625,13 +3625,13 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * * @param[in] animator Animator object */ - EAPI Eina_Bool elm_animator_operating_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI Eina_Bool elm_animator_operating_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Gets how many times the animation will be repeated * * @param[in] animator Animator object */ - EAPI unsigned int elm_animator_repeat_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI unsigned int elm_animator_repeat_get(const Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * Pause the animator. * @@ -3642,7 +3642,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * Once an animation has been paused with this function it can be resumed * using elm_animator_resume(). */ - EAPI void elm_animator_pause(Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_pause(Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * @brief Resumes the animator. * @@ -3659,7 +3659,7 @@ EAPI Elm_Genlist_Item *elm_genlist_item_sorted_insert(Evas_Object *obj, const El * it will resume as if it had ben animating for 2 seconds, the operating * callback will be called with a frame value of aproximately 2/3. */ - EAPI void elm_animator_resume(Elm_Animator *animator) EINA_ARG_NONNULL(1); + EINA_DEPRECATED EAPI void elm_animator_resume(Elm_Animator *animator) EINA_ARG_NONNULL(1); /** * @} */