summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-07-23 14:31:52 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2014-07-23 14:31:52 +0900
commit17e2c4bc0677d3d0e20caa69570f94afd4022e2b (patch)
tree713302b67faed3cc74d43d68b360365ddcad1b95 /data
parent77ad5e329734a3a3ee9694b8bd52964047cb23e4 (diff)
edje embryo: Now supports get_anim_pos_map
Summary: works just like ecore_animator_pos_map(). @feature Reviewers: seoz, Hermet, cedric, raster Subscribers: cedric, seoz Differential Revision: https://phab.enlightenment.org/D1211
Diffstat (limited to 'data')
-rw-r--r--data/edje/include/edje.inc16
1 files changed, 16 insertions, 0 deletions
diff --git a/data/edje/include/edje.inc b/data/edje/include/edje.inc
index 0d29c0b..5758cc3 100644
--- a/data/edje/include/edje.inc
+++ b/data/edje/include/edje.inc
@@ -68,6 +68,22 @@ native reset_timer(id);
68native anim (Float:len, fname[], val); 68native anim (Float:len, fname[], val);
69native cancel_anim(id); 69native cancel_anim(id);
70 70
71enum Tween_Mode_Type
72{
73 TWEEN_MODE_LINEAR,
74 TWEEN_MODE_ACCELERATE,
75 TWEEN_MODE_DECELERATE,
76 TWEEN_MODE_SINUSOIDAL,
77 TWEEN_MODE_ACCELERATE_FACTOR,
78 TWEEN_MODE_DECELERATE_FACTOR,
79 TWEEN_MODE_SINUSOIDAL_FACTOR,
80 TWEEN_MODE_DIVISOR_INTERP,
81 TWEEN_MODE_BOUNCE,
82 TWEEN_MODE_SPRING
83};
84
85native get_anim_pos_map(Float:pos, Tween_Mode_Type:tween, Float:v1, Float:v2, &Float:ret);
86
71/***********************************************************/ 87/***********************************************************/
72/* Edje utility calls for dealing with edjes/programs etc. */ 88/* Edje utility calls for dealing with edjes/programs etc. */
73/***********************************************************/ 89/***********************************************************/