summaryrefslogtreecommitdiff
path: root/src/gui/stats.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-28 12:21:58 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-28 12:21:58 +0000
commit5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e (patch)
tree97f48fcbfc02cf986c426117d4fbb1f37ca68d85 /src/gui/stats.h
parent51777892f80d950757a27591dca861cc41f7a8fa (diff)
downloadmana-client-5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e.tar.gz
mana-client-5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e.tar.bz2
mana-client-5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e.tar.xz
mana-client-5420f80ca8ceb37cbdd7f2f5c4a23f82f928df2e.zip
Fixed incluing stats_window.h instead of stats.h
Using stringstream for labels
Diffstat (limited to 'src/gui/stats.h')
-rw-r--r--src/gui/stats.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/stats.h b/src/gui/stats.h
index 9f716ef4..b7f32f99 100644
--- a/src/gui/stats.h
+++ b/src/gui/stats.h
@@ -4,6 +4,7 @@
#include "button.h"
#include "window.h"
#include "main.h"
+#include <sstream>
class StatsWindow : public Window, public gcn::ActionListener {
public:
@@ -18,8 +19,9 @@ class StatsWindow : public Window, public gcn::ActionListener {
void action(const std::string& eventId);
private:
+ int i;
/* Stats values */
- std::string statsStr[5];
+ std::stringstream statsStr[5];
/* Stats captions */
gcn::Label *statsLabel[5];
@@ -38,7 +40,7 @@ class StatsWindow : public Window, public gcn::ActionListener {
/*
* Destructor.
*/
- virtual ~StatsWindow();
+ ~StatsWindow();
};
#endif /* _STATS_Window_H */