aboutsummaryrefslogtreecommitdiff
path: root/src/hud/hud.hpp
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2020-07-07 06:40:50 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2020-07-07 06:40:50 +0200
commitaac94e911b0bab8db5cdb5efb8d4d8f2d4072610 (patch)
treea52a7a493076bba6e3ec5a7f9442bb3e77a5e16e /src/hud/hud.hpp
parent29339928d7a05ca11786885643631206a978655e (diff)
Add code
Diffstat (limited to 'src/hud/hud.hpp')
-rw-r--r--src/hud/hud.hpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/hud/hud.hpp b/src/hud/hud.hpp
new file mode 100644
index 0000000..fed7f42
--- /dev/null
+++ b/src/hud/hud.hpp
@@ -0,0 +1,19 @@
+#pragma once
+#include <GL/glew.h>
+#include <GLFW/glfw3.h>
+#include "vendors/imgui/imgui.h"
+#include "vendors/imgui/imgui_impl_opengl3.h"
+#include "vendors/imgui/imgui_impl_glfw.h"
+#include "hudcontext.hpp"
+
+class HUD {
+private:
+ ImGuiContext* m_ImGuiContext;
+ bool m_POpen;
+public:
+ HUDContext *m_Context;
+
+ HUD(GLFWwindow* window);
+ ~HUD();
+ void Render();
+};