aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2018-05-01 00:20:03 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2018-05-01 00:40:34 +0900
commit81f94f5a09f065627b82207092d80bcc8837a9da (patch)
tree6434ec54fbe8e689f5baeecaf189c18706a36e22 /src
parentefl_canvas_object: Change name of animation event info (diff)
downloadefl-81f94f5a09f065627b82207092d80bcc8837a9da.tar.gz
efl_canvas_object: Add event info to animation events in eo
Diffstat (limited to 'src')
-rw-r--r--src/lib/evas/Evas_Eo.h4
-rw-r--r--src/lib/evas/canvas/efl_canvas_object.eo8
2 files changed, 7 insertions, 5 deletions
diff --git a/src/lib/evas/Evas_Eo.h b/src/lib/evas/Evas_Eo.h
index bdd01e60da..9cea6ddc77 100644
--- a/src/lib/evas/Evas_Eo.h
+++ b/src/lib/evas/Evas_Eo.h
@@ -136,10 +136,10 @@ struct _Efl_Canvas_Animation_Player_Event_Running
double progress;
};
-typedef struct Efl_Canvas_Object_Animation_Event
+struct _Efl_Canvas_Object_Animation_Event
{
const Efl_Event_Description *event_desc;
-} Efl_Canvas_Object_Animation_Event;
+};
/**
* @ingroup Evas_Object_Rectangle
diff --git a/src/lib/evas/canvas/efl_canvas_object.eo b/src/lib/evas/canvas/efl_canvas_object.eo
index 1558de4364..3d9e590881 100644
--- a/src/lib/evas/canvas/efl_canvas_object.eo
+++ b/src/lib/evas/canvas/efl_canvas_object.eo
@@ -1,5 +1,7 @@
import efl_text_types;
+struct Efl.Canvas.Object.Animation_Event; [[Information of animation events]]
+
abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.Stack, Efl.Animator,
Efl.Input.Interface, Efl.Gfx.Size_Hint,
Efl.Gfx.Map, Efl.Loop_Consumer, Efl.Ui.Base, Efl.Canvas.Pointer)
@@ -622,8 +624,8 @@ abstract Efl.Canvas.Object (Efl.Object, Efl.Gfx.Entity, Efl.Gfx.Color, Efl.Gfx.S
Efl.Canvas.Pointer.pointer_inside { get; }
}
events {
- anim_started; [[Animation is started.]]
- anim_running; [[Animation is running.]]
- anim_ended; [[Animation is ended.]]
+ anim_started: Efl.Canvas.Object.Animation_Event; [[Animation is started.]]
+ anim_running: Efl.Canvas.Object.Animation_Event; [[Animation is running.]]
+ anim_ended: Efl.Canvas.Object.Animation_Event; [[Animation is ended.]]
}
}