Revert "evas: make efl_canvas_animation abstract"
authorJaehyun Cho <jae_hyun.cho@samsung.com>
Fri, 1 Feb 2019 06:17:26 +0000 (15:17 +0900)
committerJongmin Lee <jm105.lee@samsung.com>
Wed, 6 Feb 2019 22:20:10 +0000 (07:20 +0900)
commit8a1efe011c2afee3037e4bd8411f997aaefd42bd
treeecf77c7412acbc4159d959368dd1448de55eb04b
parent4630c28bd0d0ea7eae0b545112d1434b2d84de6b
Revert "evas: make efl_canvas_animation abstract"

Efl.Canvas.Animation class can be used for custom animation with
Efl.Player class' event callbacks as follows.

Example code:

void _anim_running_cb(void *data, const Efl_Event *event)
{
   //Do custom animation
}
{
   Eo *anim = efl_add(EFL_CANVAS_ANIMATION_CLASS, win);
   Eo *player = efl_add(EFL_CANVAS_ANIMATION_PLAYER_CLASS,
                        efl_animation_player_animation_set(efl_added,
                                                           anim));
   efl_event_callback_add(player, EFL_ANIMATION_PLAYER_EVENT_RUNNING,
                          _anim_running_cb, NULL);
}

As a result, Efl.Canvas.Animation is required to be a regular class
instead of an abstract class.

This reverts commit ea9ff9f547b54255d36973da8e8ba378c5ad2684.
src/lib/evas/canvas/efl_canvas_animation.eo