--- a/QTfrontend/statsPage.h Fri Jan 09 11:55:05 2009 +0000
+++ b/QTfrontend/statsPage.h Fri Jan 09 14:47:54 2009 +0000
@@ -19,8 +19,12 @@
#ifndef STATSPAGE_H
#define STATSPAGE_H
+#include <QVector>
+#include <QMap>
#include "pages.h"
+class QGraphicsView;
+
class PageGameStats : public AbstractPage
{
Q_OBJECT
@@ -30,13 +34,17 @@
QPushButton *BtnBack;
QLabel *labelGameStats;
+ QGraphicsView * graphic;
public slots:
void GameStats(char type, const QString & info);
void clear();
+ void renderStats();
private:
void AddStatText(const QString & msg);
+
+ QMap<quint32, QVector<quint32> > healthPoints;
};
#endif // STATSPAGE_H