Implement proper sprite sheet functionality
authorAlan Alpert <alan.alpert@nokia.com>
Wed, 18 Jan 2012 01:15:56 +0000 (11:15 +1000)
committerQt by Nokia <qt-info@nokia.com>
Fri, 27 Jan 2012 05:17:53 +0000 (06:17 +0100)
commit335aa328622523c17b36e676cb1aa37283ce8fda
treec4507c50cd48f226fb0f365aff35ce32d3a777bd
parent15c00d747e24dae3b2681e6af07cfba3bdb6f74c
Implement proper sprite sheet functionality

Uses frameX/frameY from the new Sprite API. You can now specify your
sprites as a single sprite sheet and just specify the offset for
individual animations.

Change-Id: I3a33d8329e6b9d65e5578669388e3115de992803
Reviewed-by: Alan Alpert <alan.alpert@nokia.com>
Reviewed-by: Martin Jones <martin.jones@nokia.com>
examples/declarative/imageelements/content/Bear0.png [deleted file]
examples/declarative/imageelements/content/Bear1.png [deleted file]
examples/declarative/imageelements/content/Bear2.png [deleted file]
examples/declarative/imageelements/content/Bear3.png [deleted file]
examples/declarative/imageelements/content/BearB.png [deleted file]
examples/declarative/imageelements/content/BearSheet.png [new file with mode: 0644]
examples/declarative/imageelements/spriteimage.qml
src/quick/items/qquicksprite.cpp
src/quick/items/qquicksprite_p.h
src/quick/items/qquickspriteengine.cpp