summaryrefslogtreecommitdiff
path: root/src/gui/stats.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 13:28:57 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2004-12-28 13:28:57 +0000
commitabb51426f88797f0fe292e8f85d3f0794f4d41ab (patch)
tree1d0eb4a92b09323d35088003d4044645a9314fa5 /src/gui/stats.h
parent89000aed97146ef5c9bed22c4c87179a18edfee2 (diff)
downloadmana-abb51426f88797f0fe292e8f85d3f0794f4d41ab.tar.gz
mana-abb51426f88797f0fe292e8f85d3f0794f4d41ab.tar.bz2
mana-abb51426f88797f0fe292e8f85d3f0794f4d41ab.tar.xz
mana-abb51426f88797f0fe292e8f85d3f0794f4d41ab.zip
Some fixes to stats window.
Diffstat (limited to 'src/gui/stats.h')
-rw-r--r--src/gui/stats.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/gui/stats.h b/src/gui/stats.h
index d047f432..27e83fd0 100644
--- a/src/gui/stats.h
+++ b/src/gui/stats.h
@@ -27,7 +27,6 @@
#include "button.h"
#include "window.h"
#include "../main.h"
-#include <sstream>
#include <string>
class StatsWindow : public Window, public gcn::ActionListener {
@@ -44,21 +43,16 @@ class StatsWindow : public Window, public gcn::ActionListener {
private:
int i;
-
- /**
- * Stats values
- */
- std::stringstream statsStr[5];
-
+
/**
* Stats captions
*/
- gcn::Label *statsLabel[5];
+ gcn::Label *statsLabel[6];
/**
* Stats buttons
*/
- Button *statsButton[5];
+ Button *statsButton[6];
/**
* Stats window ptr