summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_object_group_sequential_private.h
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-08-30 12:08:41 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-12 21:03:49 +0900
commit4112a68e321a4f65a6c867251192f2095a29208d (patch)
tree6a8b5f8faf3dce6f8b52f4278bcd4fb74c4e8482 /src/lib/evas/canvas/efl_animation_object_group_sequential_private.h
parent923a5b02ebe8d2b2365bdd82534576e2f272a849 (diff)
efl_animation: Add sequential group animation and object
Efl.Animation.Group.Sequential is a class for animations started in sequence. Efl.Animation.Object.Group.Sequential is a class which provides methods for an object of Efl.Animation.Group.Sequential. The objects added into the sequential group animation object start in sequence.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_object_group_sequential_private.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_object_group_sequential_private.h b/src/lib/evas/canvas/efl_animation_object_group_sequential_private.h
new file mode 100644
index 0000000000..fc68a14c0d
--- /dev/null
+++ b/src/lib/evas/canvas/efl_animation_object_group_sequential_private.h
@@ -0,0 +1,25 @@
1#define EFL_ANIMATION_OBJECT_PROTECTED
2
3#include "evas_common_private.h"
4
5#define MY_CLASS EFL_ANIMATION_OBJECT_GROUP_SEQUENTIAL_CLASS
6#define MY_CLASS_NAME efl_class_name_get(MY_CLASS)
7
8#define EFL_ANIMATION_OBJECT_GROUP_SEQUENTIAL_CHECK_OR_RETURN(anim_obj, ...) \
9 do { \
10 if (!anim_obj) { \
11 CRI("Efl_Animation_Object " # anim_obj " is NULL!"); \
12 return __VA_ARGS__; \
13 } \
14 if (efl_animation_object_is_deleted(anim_obj)) { \
15 ERR("Efl_Animation_Object " # anim_obj " has already been deleted!"); \
16 return __VA_ARGS__; \
17 } \
18 } while (0)
19
20#define EFL_ANIMATION_OBJECT_GROUP_SEQUENTIAL_DATA_GET(o, pd) \
21 Efl_Animation_Object_Group_Sequential_Data *pd = efl_data_scope_get(o, EFL_ANIMATION_OBJECT_GROUP_SEQUENTIAL_CLASS)
22
23typedef struct _Efl_Animation_Object_Group_Sequential_Data
24{
25} Efl_Animation_Object_Group_Sequential_Data;