diff options
author | Amitesh Singh <amitesh.sh@samsung.com> | 2014-07-23 14:31:52 +0900 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2014-07-23 14:31:52 +0900 |
commit | 17e2c4bc0677d3d0e20caa69570f94afd4022e2b (patch) | |
tree | 713302b67faed3cc74d43d68b360365ddcad1b95 /data | |
parent | 77ad5e329734a3a3ee9694b8bd52964047cb23e4 (diff) | |
download | efl-17e2c4bc0677d3d0e20caa69570f94afd4022e2b.tar.gz |
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.inc | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/data/edje/include/edje.inc b/data/edje/include/edje.inc index 0d29c0b6df..5758cc39b0 100644 --- a/data/edje/include/edje.inc +++ b/data/edje/include/edje.inc @@ -68,6 +68,22 @@ native reset_timer(id); native anim (Float:len, fname[], val); native cancel_anim(id); +enum Tween_Mode_Type +{ + TWEEN_MODE_LINEAR, + TWEEN_MODE_ACCELERATE, + TWEEN_MODE_DECELERATE, + TWEEN_MODE_SINUSOIDAL, + TWEEN_MODE_ACCELERATE_FACTOR, + TWEEN_MODE_DECELERATE_FACTOR, + TWEEN_MODE_SINUSOIDAL_FACTOR, + TWEEN_MODE_DIVISOR_INTERP, + TWEEN_MODE_BOUNCE, + TWEEN_MODE_SPRING +}; + +native get_anim_pos_map(Float:pos, Tween_Mode_Type:tween, Float:v1, Float:v2, &Float:ret); + /***********************************************************/ /* Edje utility calls for dealing with edjes/programs etc. */ /***********************************************************/ |