aboutsummaryrefslogtreecommitdiff
path: root/src/MainWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/MainWindow.cpp')
-rw-r--r--src/MainWindow.cpp17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/MainWindow.cpp b/src/MainWindow.cpp
new file mode 100644
index 0000000..cac85c1
--- /dev/null
+++ b/src/MainWindow.cpp
@@ -0,0 +1,17 @@
+#include "GameView.h"
+
+#include "MainWindow.h"
+
+MainWindow::MainWindow(QWidget *parent) :
+ QMainWindow(parent)
+{
+ resize(800, 480);
+ setWindowTitle("Generic platformer base, version 0.0.1 alpha");
+
+ setCentralWidget(m_gameView->instance());
+}
+
+MainWindow::~MainWindow()
+{
+
+}