QTfrontend/mapContainer.h
changeset 4520 e7882bd1a894
parent 4519 aee36896d46b
child 4525 0a81be113e21
--- a/QTfrontend/mapContainer.h	Mon Dec 13 19:26:20 2010 +0100
+++ b/QTfrontend/mapContainer.h	Mon Dec 13 22:12:30 2010 +0300
@@ -27,6 +27,7 @@
 #include <QLineEdit>
 
 #include "hwmap.h"
+#include "drawmapscene.h"
 
 class QPushButton;
 class IconedGroupBox;
@@ -53,6 +54,7 @@
   int get_maze_size(void) const;
   bool getCurrentIsMission() const;
   QByteArray getDrawnMapData();
+  DrawMapScene * getDrawMapScene();
 
  public slots:
   void changeImage();
@@ -106,9 +108,9 @@
   QLabel *maze_size_label;
   QComboBox *maze_size_selection;
   MapGenerator mapgen;
-  QByteArray drawnMapData;
   int numMissions;
   int maze_size;
+  DrawMapScene drawMapScene;
 
   void loadMap(int index);
 };