summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-14 01:14:16 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2005-07-14 01:14:16 +0000
commitde7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62 (patch)
tree752231f7027684fdef8ae45c27eb35673d7c7364 /src/gui/progressbar.h
parent06111415b117fc47b5b8bf6396d855616778f3b0 (diff)
downloadmana-de7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62.tar.gz
mana-de7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62.tar.bz2
mana-de7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62.tar.xz
mana-de7f10dc69f7d2e7e6e4dbc97b5e8901c0589d62.zip
Make sure progress bar color fading happens framerate independent.
Diffstat (limited to 'src/gui/progressbar.h')
-rw-r--r--src/gui/progressbar.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gui/progressbar.h b/src/gui/progressbar.h
index d39ae0f9..3e751459 100644
--- a/src/gui/progressbar.h
+++ b/src/gui/progressbar.h
@@ -47,6 +47,11 @@ class ProgressBar : public gcn::Widget {
~ProgressBar();
/**
+ * Performs progress bar logic (fading colors)
+ */
+ void logic();
+
+ /**
* Draws the progress bar.
*/
void draw(gcn::Graphics *graphics);