summaryrefslogtreecommitdiffstats
path: root/src/mainwindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mainwindow.h')
-rw-r--r--src/mainwindow.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/mainwindow.h b/src/mainwindow.h
index 02db75e..ec153b7 100644
--- a/src/mainwindow.h
+++ b/src/mainwindow.h
@@ -23,7 +23,7 @@ namespace Ui {
class QTextEdit;
-class Snake;
+class GameCore;
class MainWindow : public QWidget
{
@@ -41,7 +41,9 @@ public:
QSize createDistro(const QRect &max);
- void createLogWindow(const QRect& geom);
+ bool createLogWindow(const QRect& geom);
+
+ void createNewsWindow(const QRect &size);
void createClock();
@@ -70,7 +72,7 @@ private:
QImage m_background;
QTextEdit *m_messages;
QLabel *m_Clock;
- Snake *m_Snake;
+ GameCore *m_Snake;
};
#endif // MAINWINDOW_H