#include <stdlib.h> // For rand()
#include <time.h> // For time()
#include "gameboard.h"
+#include "editorwindow.h" // Actual mouse/drawing window
#include "gamewidget.h" // Actual mouse/drawing window
//#include "resource.h"
//#include "optiondlg.h" // Options dialog class
setWindowTitle("Warehouse Man Deluxe");
setWindowIcon(QIcon(":/wmd-icon.png"));
+// editor = new QWindow(this);
+ editorWindow = new EditorWindow(this);
+// editor->setCentralWidget(editorWidget);
+// editorWidget->setFocusPolicy(Qt::StrongFocus); // Without this, it gets no keys
+ editorWindow->show();
+
newGame = CreateAction(tr("&New"), tr("New Game"), tr("Start a new game of Warehouse Man Deluxe"), QIcon(), QKeySequence(tr("ctrl+n")));
// connect(newGame, SIGNAL(triggered()), this, SLOT(OnNewGame()));
MainWin::~MainWin()
{
// ShutDownAudio();
+ delete editorWindow;
}