summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/efl_animation_object_group_private.h
diff options
context:
space:
mode:
authorJaehyun Cho <jae_hyun.cho@samsung.com>2017-08-25 17:17:24 +0900
committerJaehyun Cho <jae_hyun.cho@samsung.com>2017-10-12 21:03:49 +0900
commit861a90415c6b41c02a2599f4b2deb50f254dba02 (patch)
tree17f7aae6e1545494c90e9f765c33e927b80911c7 /src/lib/evas/canvas/efl_animation_object_group_private.h
parente1a73fffb9a8e3ededcf4a06c47b034536c33e9c (diff)
efl_animation: Add group animation object
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/efl_animation_object_group_private.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/efl_animation_object_group_private.h b/src/lib/evas/canvas/efl_animation_object_group_private.h
new file mode 100644
index 0000000000..a710b462e7
--- /dev/null
+++ b/src/lib/evas/canvas/efl_animation_object_group_private.h
@@ -0,0 +1,26 @@
1#define EFL_ANIMATION_OBJECT_PROTECTED
2
3#include "evas_common_private.h"
4
5#define MY_CLASS EFL_ANIMATION_OBJECT_GROUP_CLASS
6#define MY_CLASS_NAME efl_class_name_get(MY_CLASS)
7
8#define EFL_ANIMATION_OBJECT_GROUP_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_DATA_GET(o, pd) \
21 Efl_Animation_Object_Group_Data *pd = efl_data_scope_get(o, EFL_ANIMATION_OBJECT_GROUP_CLASS)
22
23typedef struct _Efl_Animation_Object_Group_Data
24{
25 Eina_List *anim_objs;
26} Efl_Animation_Object_Group_Data;