summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2019-02-01 15:17:26 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2019-02-01 15:53:44 +0900
commitf23f3074daa3e9da5b37cc168df5d6b003e0ec62 (patch)
tree1bfc2996de22764aaa046933880bb7c61effb758
parentbd949111be8b7419cecd7ad171f70532ed1a4187 (diff)
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.
-rw-r--r--src/lib/evas/canvas/efl_canvas_animation.eo2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/evas/canvas/efl_canvas_animation.eo b/src/lib/evas/canvas/efl_canvas_animation.eo
index eb12ef8536..977de0579d 100644
--- a/src/lib/evas/canvas/efl_canvas_animation.eo
+++ b/src/lib/evas/canvas/efl_canvas_animation.eo
@@ -1,6 +1,6 @@
1import efl_canvas_animation_types; 1import efl_canvas_animation_types;
2 2
3abstract Efl.Canvas.Animation extends Efl.Object implements Efl.Playable 3class Efl.Canvas.Animation extends Efl.Object implements Efl.Playable
4{ 4{
5 [[Efl animation class]] 5 [[Efl animation class]]
6 eo_prefix: efl_animation; 6 eo_prefix: efl_animation;