Refactoring of path constraints + LinearConstrainer 51/38051/17
authorFerran Sole <ferran.sole@samsung.com>
Thu, 9 Apr 2015 15:53:23 +0000 (16:53 +0100)
committerFerran Sole <ferran.sole@samsung.com>
Tue, 12 May 2015 15:57:01 +0000 (08:57 -0700)
commit7ee5a702dc96086b64268d0467cf072b35856624
treed81db4677526c77e85535ae35560d653cf2b5732
parent760fb67e3ff4b303e1e37657bafe0079e86e1ad8
Refactoring of path constraints + LinearConstrainer

- Renamed to PathConstrainer ( an object who applies constraints ).
- Added a base class (Constrainer) who is responsible for observing constrained objects
  and remove the constraints created when it is destroyed.
- Removed range property. Range is now specified in the 'apply' method.
- Added new properties "points" and "control-points" to specify the path.
- Added option to wrap source property value inside a given domain.
- Added LinearConstrainer object to constraint properties given a linear map

Change-Id: Iea89384808505881057c1d75d8e1929b14ecd3d3
19 files changed:
automated-tests/src/dali/CMakeLists.txt
automated-tests/src/dali/utc-Dali-Constrainer.cpp [new file with mode: 0644]
automated-tests/src/dali/utc-Dali-Path.cpp
dali/internal/event/animation/constrainer.cpp [new file with mode: 0644]
dali/internal/event/animation/constrainer.h [new file with mode: 0644]
dali/internal/event/animation/linear-constrainer-impl.cpp [new file with mode: 0644]
dali/internal/event/animation/linear-constrainer-impl.h [new file with mode: 0644]
dali/internal/event/animation/path-constrainer-impl.cpp [new file with mode: 0644]
dali/internal/event/animation/path-constrainer-impl.h [moved from dali/internal/event/animation/path-constraint-impl.h with 56% similarity]
dali/internal/event/animation/path-constraint-impl.cpp [deleted file]
dali/internal/event/animation/path-impl.cpp
dali/internal/file.list
dali/public-api/animation/linear-constrainer.cpp [new file with mode: 0644]
dali/public-api/animation/linear-constrainer.h [new file with mode: 0644]
dali/public-api/animation/path-constrainer.cpp [new file with mode: 0644]
dali/public-api/animation/path-constrainer.h [moved from dali/public-api/animation/path-constraint.h with 56% similarity]
dali/public-api/animation/path-constraint.cpp [deleted file]
dali/public-api/dali-core.h
dali/public-api/file.list