![]() ![]() Sets the function that begins a custom animator tick source.Įcore_animator_custom_source_tick_end_callback_set ( Ecore_Cb func, const void *data) Sets the source of animator ticks for the mainloop.Įcore_animator_custom_source_tick_begin_callback_set ( Ecore_Cb func, const void *data) Maps an input position from 0.0 to 1.0 along a timeline to a position in a different curve.Įcore_animator_pos_map_n (double pos, Ecore_Pos_Map map, int v_size, double *v)Įcore_animator_source_set ( Ecore_Animator_Source source) Gets the animator call interval in seconds.Įcore_animator_pos_map (double pos, Ecore_Pos_Map map, double v1, double v2) ![]() Sets the animator call interval in seconds. Note that this has tangible benefits to creating a timer for each animation in terms of performance.įor a more detailed example that show several animation see Ecore animator example.Įcore_animator_frametime_set (double frametime) If your animation will run for an unspecified amount of time you can use ecore_animator_add(), which is like using ecore_timer_add() with the interval being the framerate. In the sample above we create an animation to move my_evas_object from position (0,0) to (100,100) in 2 seconds. Evas_object_move(data, 100 * pos, 100 * pos) Įcore_animator_timeline_add(2, _do_animation, my_evas_object)
0 Comments
Leave a Reply. |