transit: add possibility to revert an ongoing transition during play
authorGodly T Alias <godlytalias@yahoo.co.in>
Fri, 5 Feb 2016 07:08:16 +0000 (08:08 +0100)
committerCedric BAIL <cedric@osg.samsung.com>
Fri, 5 Feb 2016 07:45:19 +0000 (08:45 +0100)
commitcb8a5cb38c01b275df78b596398b734d502c5123
treeb191bf1bff51a35217022358bffd3c6eeb6e176a
parent96bd8fae7d07275c971460396feae081ae6aaff0
transit: add possibility to revert an ongoing transition during play

Summary:
Currently the feature available in transit to reverse play a transition is
auto-reverse which will play a transition in reverse mode once a transition
is complete. This feature helps the user to revert a transition at any point
of time when transition is going on.

New API added.

@feature T3019

Use Case:
While doing pinch zoom, we will be doing zoom transit effect from one step to other, during that transit if user do the pinch in reverse direction this API can be called so that transition will be reverted easily.

Signed-off-by: godly.talias <godly.talias@samsung.com>
Test Plan: elementary_test Transit Resizing / Transit Zoom / Transit Bezier / Transit Custom / Transit Fade / Transit Flip

Reviewers: raster, prince.dubey, shilpasingh, Hermet, seoz, cedric

Subscribers: rajeshps, govi

Differential Revision: https://phab.enlightenment.org/D3567

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
legacy/elementary/src/bin/test_transit.c
legacy/elementary/src/bin/test_transit_bezier.c
legacy/elementary/src/lib/elm_authors.h
legacy/elementary/src/lib/elm_transit.c
legacy/elementary/src/lib/elm_transit.h