Added code for stylable transitions 96/90596/11
authorDavid Steele <david.steele@partner.samsung.com>
Fri, 30 Sep 2016 18:44:06 +0000 (19:44 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Thu, 20 Oct 2016 18:24:20 +0000 (19:24 +0100)
commit04dface1b4b122e8eef10026bf0a45d621d5f3d7
tree3ec5cdfbe1e247f4fa1bd6a4f8e09f8e41b7ff48
parent2985aed6fcace8037f075d1598e8a454c2243ff7
Added code for stylable transitions

This change enables animatable properties of placement actors/renderers
to be animated using a property map defined by a style sheet.

New classes:
VisualProperty - a version of Property that doesn't use C++ references
TransitionData - a pimpled struct that carries enough information to generate
Animators that can be defined by Animation::AnimateTo().

Additions:
Added a name to visual base to enable the animator to target a named
visual.

Added GetVisualProperty() internal method which checks the named visual
(or it's placement actor) for the given property, and returns the appropriate
VisualProperty that can animate it.

Change-Id: I0c91eae845b0ba5be5d7829babee75717f2b3b49
Signed-off-by: David Steele <david.steele@samsung.com>
20 files changed:
automated-tests/src/dali-toolkit/CMakeLists.txt
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.cpp
automated-tests/src/dali-toolkit/dali-toolkit-test-utils/dummy-control.h
automated-tests/src/dali-toolkit/utc-Dali-TransitionData.cpp [new file with mode: 0644]
automated-tests/src/dali-toolkit/utc-Dali-Visual.cpp
dali-toolkit/devel-api/file.list
dali-toolkit/devel-api/visual-factory/transition-data.cpp [new file with mode: 0644]
dali-toolkit/devel-api/visual-factory/transition-data.h [new file with mode: 0644]
dali-toolkit/devel-api/visual-factory/visual-base.cpp
dali-toolkit/devel-api/visual-factory/visual-base.h
dali-toolkit/internal/builder/replacement.cpp
dali-toolkit/internal/file.list
dali-toolkit/internal/visuals/transition-data-impl.cpp [new file with mode: 0644]
dali-toolkit/internal/visuals/transition-data-impl.h [new file with mode: 0644]
dali-toolkit/internal/visuals/visual-base-data-impl.h
dali-toolkit/internal/visuals/visual-base-impl.cpp
dali-toolkit/internal/visuals/visual-base-impl.h
dali-toolkit/public-api/controls/control-impl.cpp
dali-toolkit/public-api/controls/control-impl.h
dali-toolkit/public-api/file.list