summaryrefslogtreecommitdiff
path: root/ui/mainApplication.h
diff options
context:
space:
mode:
authorDan Goodliffe <dan@randomdan.homeip.net>2024-07-02 18:20:22 +0100
committerDan Goodliffe <dan@randomdan.homeip.net>2024-07-02 18:20:22 +0100
commit9d6d2c0eb21b6295b2668c23f0ef386d5827a83f (patch)
treeec4bedce6f3a695aa75412f30259e0f791f46f82 /ui/mainApplication.h
parentAdd an InstanceVertices partition perf test (diff)
parentBuild ImGui as a static library (diff)
downloadilt-9d6d2c0eb21b6295b2668c23f0ef386d5827a83f.tar.bz2
ilt-9d6d2c0eb21b6295b2668c23f0ef386d5827a83f.tar.xz
ilt-9d6d2c0eb21b6295b2668c23f0ef386d5827a83f.zip
Psycho-rebased branch imgui on top of main
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};
+};