summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-07 19:07:04 +0100
committerThorbjørn Lindeijer <thorbjorn@lindeijer.nl>2010-02-07 19:07:04 +0100
commita3157908d23fd711ea96797dffce064953cb8fb6 (patch)
tree2f237b21118461a9948f3ccb829f62038564dedf /src/resources
parent1208d5383a9bfd03f338ccf71fb9764790b2e1a9 (diff)
downloadmana-a3157908d23fd711ea96797dffce064953cb8fb6.tar.gz
mana-a3157908d23fd711ea96797dffce064953cb8fb6.tar.bz2
mana-a3157908d23fd711ea96797dffce064953cb8fb6.tar.xz
mana-a3157908d23fd711ea96797dffce064953cb8fb6.zip
Nicer way of indicating that we're waiting on the server
No longer a dialog with an annoying progress bar (due to going back and forth), but rather a progress indicator that integrates better with the background.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/animation.cpp3
-rw-r--r--src/resources/animation.h3
2 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/animation.cpp b/src/resources/animation.cpp
index af9db7be..18c882eb 100644
--- a/src/resources/animation.cpp
+++ b/src/resources/animation.cpp
@@ -28,8 +28,7 @@ Animation::Animation():
{
}
-void Animation::addFrame(Image *image, unsigned int delay,
- int offsetX, int offsetY)
+void Animation::addFrame(Image *image, int delay, int offsetX, int offsetY)
{
Frame frame = { image, delay, offsetX, offsetY };
mFrames.push_back(frame);
diff --git a/src/resources/animation.h b/src/resources/animation.h
index 7a64eeb3..d5c171ab 100644
--- a/src/resources/animation.h
+++ b/src/resources/animation.h
@@ -51,8 +51,7 @@ class Animation
/**
* Appends a new animation at the end of the sequence.
*/
- void addFrame(Image *image, unsigned int delay,
- int offsetX, int offsetY);
+ void addFrame(Image *image, int delay, int offsetX, int offsetY);
/**
* Appends an animation terminator that states that the animation