summaryrefslogtreecommitdiff
path: root/ui/gameMainWindow.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/gameMainWindow.h')
-rw-r--r--ui/gameMainWindow.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/ui/gameMainWindow.h b/ui/gameMainWindow.h
new file mode 100644
index 0000000..affb389
--- /dev/null
+++ b/ui/gameMainWindow.h
@@ -0,0 +1,27 @@
+#ifndef UI_GAMEMAINWINDOW_H
+#define UI_GAMEMAINWINDOW_H
+
+#include "chronology.hpp"
+#include "gfx/gl/camera.h"
+#include "gfx/gl/shader.h"
+#include "gfx/gl/uiShader.h"
+#include "window.h"
+#include <cstddef>
+
+class GameState;
+
+class GameMainWindow : public Window {
+public:
+ GameMainWindow(size_t w, size_t h);
+
+ void tick(TickDuration) override;
+
+ void Refresh(const GameState * gameState) const override;
+
+private:
+ UIShader uiShader;
+ Shader shader;
+ Camera camera;
+};
+
+#endif