Added a stylable transition to styling example. 48/92348/8
authorDavid Steele <david.steele@partner.samsung.com>
Fri, 14 Oct 2016 14:30:50 +0000 (15:30 +0100)
committerDavid Steele <david.steele@partner.samsung.com>
Thu, 20 Oct 2016 18:19:36 +0000 (19:19 +0100)
commit2fa69545ba52fa238710839f76352e7bef582f7d
tree0dc5a2463b59b40ea2ea1d2eda388d7d69b4533b
parent2f41a3091e2686b7770ddaba59578dae005bb262
Added a stylable transition to styling example.

Added Enable / Disable transitions to ImageChannelControl which
can be set via the style sheet.

Added a Visibility attribute to ImageChannelControl which
forces the enable / disable transition to be executed when
the visibility changes.

Added 3 different transitions to the style sheet:
1) a cross fade
2) a longer cross fade
3) a scale change.

Change-Id: I82a1f0e4e4c89ae0bdcb1c59ce01a0a918f17afd
Signed-off-by: David Steele <david.steele@samsung.com>
12 files changed:
examples/styling/image-channel-control-impl.cpp
examples/styling/image-channel-control-impl.h
examples/styling/image-channel-control.cpp
examples/styling/image-channel-control.h
examples/styling/styling-application.cpp
examples/styling/styling-application.h
resources/style/mobile/style-example-theme-one.json.in
resources/style/mobile/style-example-theme-three.json.in
resources/style/mobile/style-example-theme-two.json.in
resources/style/style-example-theme-one.json.in
resources/style/style-example-theme-three.json.in
resources/style/style-example-theme-two.json.in