summaryrefslogtreecommitdiff
path: root/src/gui/stats.h
diff options
context:
space:
mode:
authorMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-28 14:49:19 +0000
committerMateusz Kaduk <mateusz.kaduk@gmail.com>2004-12-28 14:49:19 +0000
commit40aba2bd075b3e8c32c03d87696646364c125803 (patch)
tree95b5d0d85b9b7e81d55a217d56a27cc06d112d13 /src/gui/stats.h
parent42e227d7f1523a5c11fd6fe3babd869f9041cce9 (diff)
downloadmana-40aba2bd075b3e8c32c03d87696646364c125803.tar.gz
mana-40aba2bd075b3e8c32c03d87696646364c125803.tar.bz2
mana-40aba2bd075b3e8c32c03d87696646364c125803.tar.xz
mana-40aba2bd075b3e8c32c03d87696646364c125803.zip
Added update method to stats
Added show/hide feature for stats
Diffstat (limited to 'src/gui/stats.h')
-rw-r--r--src/gui/stats.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/gui/stats.h b/src/gui/stats.h
index 27e83fd0..c58c837f 100644
--- a/src/gui/stats.h
+++ b/src/gui/stats.h
@@ -28,6 +28,7 @@
#include "window.h"
#include "../main.h"
#include <string>
+#include <sstream>
class StatsWindow : public Window, public gcn::ActionListener {
public:
@@ -41,6 +42,11 @@ class StatsWindow : public Window, public gcn::ActionListener {
*/
void action(const std::string& eventId);
+ /**
+ * Metod updates stats in window.
+ */
+ void update();
+
private:
int i;