diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2011-10-20 20:28:22 +1000 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2011-11-01 08:14:08 +0100 |
commit | 1cb5f20f17ea08b2cc7cd7bcd28b7c658b6dbb66 (patch) | |
tree | 8ad4f91d87b91a2e8610dc8f189142d1669528f2 /tests/auto/particles/qquickcustomaffector/data | |
parent | 2147b43b811100240103b002d767452e966f6eae (diff) |
Add non-floats to particle type
booleans exposed for the 1.0 or 0.0 floats, and color exposed as 0.0-1.0
even though it's 0-255 internally.
Change-Id: Idc7ab2527fef150fddb077fc73ac1c7cf122cfdd
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Diffstat (limited to 'tests/auto/particles/qquickcustomaffector/data')
-rw-r--r-- | tests/auto/particles/qquickcustomaffector/data/basic.qml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/auto/particles/qquickcustomaffector/data/basic.qml b/tests/auto/particles/qquickcustomaffector/data/basic.qml index 7371698026..253c566c66 100644 --- a/tests/auto/particles/qquickcustomaffector/data/basic.qml +++ b/tests/auto/particles/qquickcustomaffector/data/basic.qml @@ -54,6 +54,7 @@ Rectangle { ImageParticle { source: "../../shared/star.png" + rotation: 90 } Emitter{ @@ -75,6 +76,12 @@ Rectangle { particles[i].initialAY = 100; particles[i].startSize = 100; particles[i].endSize = 100; + particles[i].autoRotate = true; + particles[i].update = true; + particles[i].red = 0; + particles[i].green = 1.0; + particles[i].blue = 0; + particles[i].alpha = 0; } } } |