fixup! Adding the MISSING Animation constructor to accept duration in milli seconds 56/93856/5
authorRavi Nanjundappa <nravi.n@samsung.com>
Wed, 26 Oct 2016 06:51:22 +0000 (12:21 +0530)
committerRavi Nanjundappa <nravi.n@samsung.com>
Wed, 26 Oct 2016 08:27:01 +0000 (13:57 +0530)
commitbf2eda7638e589025bfe84eb10d44922400faec9
treee3040372a0162c3f74b10455377f91c78b0f1394
parent5dcbbe43095165ad15ae4d19dfbfce2e0910f720
fixup! Adding the MISSING Animation constructor to accept duration in milli seconds

Inserted the code for Animation constructor which accept integer value for duration in milli seconds.
Example, _animation = new Animation(10000); will create Animation object with duration of 1000 ms (1s).
We can still use _animation = new Animation(1.0f); to create the same.
We can also use _animation.DurationMillSecs = 10000; // 10 ms

Also the Animation parameter pascal case change is handled in the animation class enums
Added looping property and Stop(Animation.EndAction action) also,

Change-Id: Idc52e3fc4c8a183bd9e72ccb2a6e0735dc161709
Signed-off-by: Ravi Nanjundappa <nravi.n@samsung.com>
plugins/dali-swig/SWIG/events/animation-event.i
plugins/dali-swig/examples/hello-world.cs