summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason McDonald <jason.mcdonald@nokia.com>2012-07-12 11:22:28 +1000
committerQt by Nokia <qt-info@nokia.com>2012-07-13 01:51:40 +0200
commita2b0ab4f579151bd2a6145dd18ce684fadedfe23 (patch)
tree7ee746ee2899edc1cf1a0274159ba0278163e5a5
parent197f34bcff6bf0e67c7ea02f7ed80aee7dc0023c (diff)
Make it clear that stickman example animations are binary files.
Add a .bin extension to the filenames to ensure that packaging scripts treat these files as binary instead of text. Change-Id: Ib49e2bdb93a43ddb7590cb8fc0b542a251a786f8 Reviewed-by: Eskil Abrahamsen Blomfeldt <eskil.abrahamsen-blomfeldt@nokia.com>
-rw-r--r--examples/animation/stickman/animations/chilling.bin (renamed from examples/animation/stickman/animations/chilling)bin6508 -> 6508 bytes
-rw-r--r--examples/animation/stickman/animations/dancing.bin (renamed from examples/animation/stickman/animations/dancing)bin2348 -> 2348 bytes
-rw-r--r--examples/animation/stickman/animations/dead.bin (renamed from examples/animation/stickman/animations/dead)bin268 -> 268 bytes
-rw-r--r--examples/animation/stickman/animations/jumping.bin (renamed from examples/animation/stickman/animations/jumping)bin1308 -> 1308 bytes
-rw-r--r--examples/animation/stickman/main.cpp8
-rw-r--r--examples/animation/stickman/stickman.qrc10
6 files changed, 9 insertions, 9 deletions
diff --git a/examples/animation/stickman/animations/chilling b/examples/animation/stickman/animations/chilling.bin
index a81fc7a18c..a81fc7a18c 100644
--- a/examples/animation/stickman/animations/chilling
+++ b/examples/animation/stickman/animations/chilling.bin
Binary files differ
diff --git a/examples/animation/stickman/animations/dancing b/examples/animation/stickman/animations/dancing.bin
index 462f66f89b..462f66f89b 100644
--- a/examples/animation/stickman/animations/dancing
+++ b/examples/animation/stickman/animations/dancing.bin
Binary files differ
diff --git a/examples/animation/stickman/animations/dead b/examples/animation/stickman/animations/dead.bin
index 9859b4b4cd..9859b4b4cd 100644
--- a/examples/animation/stickman/animations/dead
+++ b/examples/animation/stickman/animations/dead.bin
Binary files differ
diff --git a/examples/animation/stickman/animations/jumping b/examples/animation/stickman/animations/jumping.bin
index 12661a15f8..12661a15f8 100644
--- a/examples/animation/stickman/animations/jumping
+++ b/examples/animation/stickman/animations/jumping.bin
Binary files differ
diff --git a/examples/animation/stickman/main.cpp b/examples/animation/stickman/main.cpp
index 55fc1ba310..3e49da8de3 100644
--- a/examples/animation/stickman/main.cpp
+++ b/examples/animation/stickman/main.cpp
@@ -93,11 +93,11 @@ int main(int argc, char **argv)
view.setFocus();
LifeCycle cycle(stickMan, &view);
- cycle.setDeathAnimation(":/animations/dead");
+ cycle.setDeathAnimation(":/animations/dead.bin");
- cycle.addActivity(":/animations/jumping", Qt::Key_J);
- cycle.addActivity(":/animations/dancing", Qt::Key_D);
- cycle.addActivity(":/animations/chilling", Qt::Key_C);
+ cycle.addActivity(":/animations/jumping.bin", Qt::Key_J);
+ cycle.addActivity(":/animations/dancing.bin", Qt::Key_D);
+ cycle.addActivity(":/animations/chilling.bin", Qt::Key_C);
cycle.start();
diff --git a/examples/animation/stickman/stickman.qrc b/examples/animation/stickman/stickman.qrc
index e5d66cf2c7..4cf3ba3828 100644
--- a/examples/animation/stickman/stickman.qrc
+++ b/examples/animation/stickman/stickman.qrc
@@ -1,8 +1,8 @@
<!DOCTYPE RCC><RCC version="1.0">
<qresource>
- <file>animations/chilling</file>
- <file>animations/dancing</file>
- <file>animations/dead</file>
- <file>animations/jumping</file>
+ <file>animations/chilling.bin</file>
+ <file>animations/dancing.bin</file>
+ <file>animations/dead.bin</file>
+ <file>animations/jumping.bin</file>
</qresource>
-</RCC> \ No newline at end of file
+</RCC>