diff options
author | Alan Alpert <alan.alpert@nokia.com> | 2010-03-01 12:51:24 (GMT) |
---|---|---|
committer | Alan Alpert <alan.alpert@nokia.com> | 2010-03-01 12:51:24 (GMT) |
commit | 4f77d4f1bebba1627700037bdfce4e74ad84cce8 (patch) | |
tree | ad0db53e4ab064a625fb7c6cc7bf9042206056c8 /examples/declarative/tutorials/samegame/samegame1 | |
parent | bcb2ed5667bd957476e3b62ef3a479a26f1252f3 (diff) | |
download | Qt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.zip Qt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.tar.gz Qt-4f77d4f1bebba1627700037bdfce4e74ad84cce8.tar.bz2 |
Make SameGame tutorials share images
It's a bit of a waste to have four copies of all of the images. And as
an advanced tutorial throwing in a minor complication like this is
probably beneficial.
Additionally, the background has been replaced by a smaller JPEG
version.
Diffstat (limited to 'examples/declarative/tutorials/samegame/samegame1')
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame1/Block.qml | 2 | ||||
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame1/pics/background.png | bin | 313930 -> 0 bytes | |||
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame1/pics/redStone.png | bin | 2902 -> 0 bytes | |||
-rw-r--r-- | examples/declarative/tutorials/samegame/samegame1/samegame.qml | 2 |
4 files changed, 2 insertions, 2 deletions
diff --git a/examples/declarative/tutorials/samegame/samegame1/Block.qml b/examples/declarative/tutorials/samegame/samegame1/Block.qml index b76e61a..f133b17 100644 --- a/examples/declarative/tutorials/samegame/samegame1/Block.qml +++ b/examples/declarative/tutorials/samegame/samegame1/Block.qml @@ -5,7 +5,7 @@ Item { id:block Image { id: img - source: "pics/redStone.png"; + source: "../shared/pics/redStone.png"; anchors.fill: parent } } diff --git a/examples/declarative/tutorials/samegame/samegame1/pics/background.png b/examples/declarative/tutorials/samegame/samegame1/pics/background.png Binary files differdeleted file mode 100644 index 3734a27..0000000 --- a/examples/declarative/tutorials/samegame/samegame1/pics/background.png +++ /dev/null diff --git a/examples/declarative/tutorials/samegame/samegame1/pics/redStone.png b/examples/declarative/tutorials/samegame/samegame1/pics/redStone.png Binary files differdeleted file mode 100644 index 36b09a2..0000000 --- a/examples/declarative/tutorials/samegame/samegame1/pics/redStone.png +++ /dev/null diff --git a/examples/declarative/tutorials/samegame/samegame1/samegame.qml b/examples/declarative/tutorials/samegame/samegame1/samegame.qml index c2d3939..5ed30c9 100644 --- a/examples/declarative/tutorials/samegame/samegame1/samegame.qml +++ b/examples/declarative/tutorials/samegame/samegame1/samegame.qml @@ -12,7 +12,7 @@ Rectangle { Image { id: background - anchors.fill: parent; source: "pics/background.png" + anchors.fill: parent; source: "../shared/pics/background.jpg" fillMode: Image.PreserveAspectCrop } } |