summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_object_group_parallel_private.h
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-08-25 17:54:29 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-12 21:03:49 +0900
commit923a5b02ebe8d2b2365bdd82534576e2f272a849 (patch)
treeb0423ba2bef3688f44e8ae35a293d4f30738debb /src/lib/evas/canvas/efl_animation_object_group_parallel_private.h
parent861a90415c6b41c02a2599f4b2deb50f254dba02 (diff)
efl_animation: Add parallel group animation and object
Efl.Animation.Group.Parallel is a class for animations started in parallel. Efl.Animation.Object.Group.Parallel is a class which provides methods for an object of Efl.Animation.Group.Parallel. The objects added into the parallel group animation object start in parallel.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_object_group_parallel_private.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_object_group_parallel_private.h b/src/lib/evas/canvas/efl_animation_object_group_parallel_private.h
new file mode 100644
index 0000000000..85ab1f2dd0
--- /dev/null
+++ b/src/lib/evas/canvas/efl_animation_object_group_parallel_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_PARALLEL_CLASS
6#define MY_CLASS_NAME efl_class_name_get(MY_CLASS)
7
8#define EFL_ANIMATION_OBJECT_GROUP_PARALLEL_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_PARALLEL_DATA_GET(o, pd) \
21 Efl_Animation_Object_Group_Parallel_Data *pd = efl_data_scope_get(o, EFL_ANIMATION_OBJECT_GROUP_PARALLEL_CLASS)
22
23typedef struct _Efl_Animation_Object_Group_Parallel_Data
24{
25} Efl_Animation_Object_Group_Parallel_Data;