summaryrefslogtreecommitdiff
path: root/src/lib/ecore
diff options
context:
space:
mode:
authorDerek Foreman <derek.foreman.samsung@gmail.com>2018-09-18 09:42:34 -0500
committerDerek Foreman <derek.foreman.samsung@gmail.com>2018-09-18 09:42:34 -0500
commit448c7ca2ce6485d885b48407919e715de3365b28 (patch)
tree71efb2f94c1807fdd8d4f53cfd6cc2b6e3a1ffc5 /src/lib/ecore
parent501114e679c687ef0b27697fdea1d49f62b59769 (diff)
ecore_anim: Move struct Ecore_Animator to private header
Summary: We're going to use this in ecore_evas shortly. Depends on D7039 Reviewers: devilhorns Reviewed By: devilhorns Subscribers: cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D7040
Diffstat (limited to 'src/lib/ecore')
-rw-r--r--src/lib/ecore/ecore_anim.c16
-rw-r--r--src/lib/ecore/ecore_private.h15
2 files changed, 15 insertions, 16 deletions
diff --git a/src/lib/ecore/ecore_anim.c b/src/lib/ecore/ecore_anim.c
index 4c614c427d..337df5f1ca 100644
--- a/src/lib/ecore/ecore_anim.c
+++ b/src/lib/ecore/ecore_anim.c
@@ -43,22 +43,6 @@
43#include "Ecore.h" 43#include "Ecore.h"
44#include "ecore_private.h" 44#include "ecore_private.h"
45 45
46struct _Ecore_Animator
47{
48 EINA_INLIST;
49
50 Ecore_Task_Cb func;
51 void *data;
52
53 double start, run;
54 Ecore_Timeline_Cb run_func;
55 void *run_data;
56
57 Eina_Bool delete_me : 1;
58 Eina_Bool suspended : 1;
59 Eina_Bool just_added : 1;
60};
61
62static int _ecore_anim_log_dom = -1; 46static int _ecore_anim_log_dom = -1;
63 47
64#ifdef ERR 48#ifdef ERR
diff --git a/src/lib/ecore/ecore_private.h b/src/lib/ecore/ecore_private.h
index 8d7a2338a8..b886de38c4 100644
--- a/src/lib/ecore/ecore_private.h
+++ b/src/lib/ecore/ecore_private.h
@@ -209,6 +209,21 @@ struct _Efl_Appthread_Data
209 void *thdat; 209 void *thdat;
210}; 210};
211 211
212struct _Ecore_Animator
213{
214 EINA_INLIST;
215
216 Ecore_Task_Cb func;
217 void *data;
218
219 double start, run;
220 Ecore_Timeline_Cb run_func;
221 void *run_data;
222
223 Eina_Bool delete_me : 1;
224 Eina_Bool suspended : 1;
225 Eina_Bool just_added : 1;
226};
212 227
213#define EVAS_FRAME_QUEUING 1 /* for test */ 228#define EVAS_FRAME_QUEUING 1 /* for test */
214 229