Added api to specify a playing range inside an animation 28/27728/8
authorFerran Sole <ferran.sole@samsung.com>
Thu, 18 Sep 2014 09:19:02 +0000 (10:19 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Wed, 24 Sep 2014 08:30:46 +0000 (09:30 +0100)
commit46589d84c800e9ce26845d77a57df023e3df6922
tree678b12c0b813f227974479158ec3e921d2aa0751
parent2637b48f1dba3520a4a26f1b63fc25ddc5524abf
Added api to specify a playing range inside an animation

The user can now specify a range inside the animation so
when the animation play it will only play inside that range.

E.g

//Set play range between 0.2 and 0.8 progress
animation.SetPlayRange( Vector2( 0.2f, 0.8f ) );

//Animation will begin playing at progress 0.2 and will end at 0.8
animation.Play();

[Problem]  N/A
[Cause]    N/A
[Solution] N/A

Change-Id: I2677b8974fef1c4703c18b2b49f9d6a9f5f06047
automated-tests/src/dali/utc-Dali-Animation.cpp
dali/internal/event/animation/animation-impl.cpp
dali/internal/event/animation/animation-impl.h
dali/internal/update/animation/scene-graph-animation.cpp
dali/internal/update/animation/scene-graph-animation.h
dali/public-api/animation/animation.cpp
dali/public-api/animation/animation.h