From 479fd2465071e7f14a595240811a6af6e8c4c4c0 Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Tue, 28 Mar 2017 11:44:22 +0900 Subject: [PATCH] ecore timeline animators - actually state the starting time the starting time has always been "now" like in timers (loop time). it would appear some people don't know this. --- src/lib/ecore/Ecore_Legacy.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/lib/ecore/Ecore_Legacy.h b/src/lib/ecore/Ecore_Legacy.h index f596b40873..e5de9d8a98 100644 --- a/src/lib/ecore/Ecore_Legacy.h +++ b/src/lib/ecore/Ecore_Legacy.h @@ -116,8 +116,10 @@ EAPI Ecore_Animator *ecore_animator_add(Ecore_Task_Cb func, const void *data); * runs for a limited time specified in seconds by @p runtime. Once the * runtime the animator has elapsed (animator finished) it will automatically * be deleted. The callback function @p func can return @c ECORE_CALLBACK_RENEW - * to keep the animator running or @c ECORE_CALLBACK_CANCEL ro stop it and have - * it be deleted automatically at any time. + * to keep the animator running or @c ECORE_CALLBACK_CANCEL or stop it and have + * it be deleted automatically at any time. Just like timers, the start of + * The animation is "now" (when the loop woke up - gettable with + * ecore_loop_time_get()). * * The @p func will ALSO be passed a position parameter that will be in value * from 0.0 to 1.0 to indicate where along the timeline (0.0 start, 1.0 end)