summaryrefslogtreecommitdiff
path: root/ui/mainApplication.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-07 00:25:19 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-07-07 00:25:19 +0100
commitb43ed0554f5d6326f80e8d6bd85d75a422ca8c05 (patch)
tree596e967d69b073109dad7db437a60093bf499e26 /ui/mainApplication.h
parentReplace deprecated GL_QUADS usage in text rendering (diff)
parentReplace deprecated GL_QUADS usage in text rendering (diff)
downloadilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.tar.bz2
ilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.tar.xz
ilt-b43ed0554f5d6326f80e8d6bd85d75a422ca8c05.zip
Merge branch 'imgui'
Diffstat (limited to 'ui/mainApplication.h')
-rw-r--r--ui/mainApplication.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/ui/mainApplication.h b/ui/mainApplication.h
new file mode 100644
index 0000000..a6cb126
--- /dev/null
+++ b/ui/mainApplication.h
@@ -0,0 +1,18 @@
+#pragma once
+
+#include "applicationBase.h"
+#include "collection.h"
+#include "window.h"
+
+class MainApplication : public ApplicationBase {
+public:
+ using Windows = Collection<Window>;
+ void mainLoop();
+
+protected:
+ Windows windows;
+
+private:
+ void processInputs();
+ bool isRunning {true};
+};