summaryrefslogtreecommitdiffstats
path: root/pacman-c++/mainwidget.h
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/mainwidget.h')
-rw-r--r--pacman-c++/mainwidget.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/pacman-c++/mainwidget.h b/pacman-c++/mainwidget.h
index d1ec761..4cdb3b8 100644
--- a/pacman-c++/mainwidget.h
+++ b/pacman-c++/mainwidget.h
@@ -3,6 +3,8 @@
3 3
4#include <QtGui> 4#include <QtGui>
5 5
6#include "constants.h"
7
6class MainWidget 8class MainWidget
7 : public QWidget 9 : public QWidget
8{ 10{
@@ -14,6 +16,9 @@ public:
14private: 16private:
15 void loadDummyMap(); 17 void loadDummyMap();
16 18
19 // data conversion
20 QPoint mapPositionToCoord(unsigned int x, unsigned int y);
21
17 QGraphicsScene *scene; 22 QGraphicsScene *scene;
18}; 23};
19 24