summaryrefslogtreecommitdiff
path: root/src/gui/progressbar.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-23 14:36:51 +0000
commit3a9ae4770fcfec80c660fd9351ecea8c3c9bc913 (patch)
tree2f084acc77ac30724641fda88989fbb003b352e0 /src/gui/progressbar.h
parentdb4fd250723ad6121059a71f1cac0e87eb91e695 (diff)
downloadmana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.gz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.bz2
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.tar.xz
mana-3a9ae4770fcfec80c660fd9351ecea8c3c9bc913.zip
Skinned our beautiful text field back!
Diffstat (limited to 'src/gui/progressbar.h')
-rw-r--r--src/gui/progressbar.h14
1 files changed, 13 insertions, 1 deletions
diff --git a/src/gui/progressbar.h b/src/gui/progressbar.h
index beab9b7f..d5bde55d 100644
--- a/src/gui/progressbar.h
+++ b/src/gui/progressbar.h
@@ -22,7 +22,6 @@
#ifndef __PROGRESSBAR_H__
#define __PROGRESSBAR_H__
-#include <iostream>
#include <allegro.h>
#include <guichan.hpp>
@@ -33,11 +32,24 @@
*/
class ProgressBar : public gcn::Widget {
public:
+ /**
+ * Constructor, initializes the progress with the given value.
+ */
ProgressBar(float progress = 0.0f);
+ /**
+ * Draws the progress bar.
+ */
void draw(gcn::Graphics *graphics);
+ /**
+ * Sets the current progress.
+ */
void setProgress(float progress);
+
+ /**
+ * Returns the current progress.
+ */
float getProgress();
private: