summaryrefslogtreecommitdiff
path: root/src/GUI.h
diff options
context:
space:
mode:
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;
+};