summaryrefslogtreecommitdiff
path: root/src/GUI.h
diff options
context:
space:
mode:
author0x221E <0x221E@0xinfinity.dev>2026-04-12 16:59:40 +0200
committer0x221E <0x221E@0xinfinity.dev>2026-04-12 16:59:40 +0200
commita66c7433c2c11b8b6c99142277ed4e16b1a2a465 (patch)
treee54bcfb59c303acf6118fd11f06d5c0bd5f24e5d /src/GUI.h
initial commitHEADmaster
Diffstat (limited to 'src/GUI.h')
-rw-r--r--src/GUI.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/GUI.h b/src/GUI.h
new file mode 100644
index 0000000..15b6046
--- /dev/null
+++ b/src/GUI.h
@@ -0,0 +1,27 @@
+#pragma once
+
+struct GLFWwindow;
+struct Userspace;
+
+class GUI {
+public:
+ GUI(Userspace& user);
+ ~GUI();
+
+ void Run();
+
+private:
+ void CreateWindow();
+ void Terminate();
+
+ void DockingSetup();
+
+ void ControlGUI();
+ void DebugInfoGUI();
+
+ void ErrorGUI();
+
+ private:
+ GLFWwindow* m_Window;
+ Userspace& m_Userspace;
+};