From aac94e911b0bab8db5cdb5efb8d4d8f2d4072610 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Tue, 7 Jul 2020 06:40:50 +0200 Subject: Add code --- src/hud/hud.hpp | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 src/hud/hud.hpp (limited to 'src/hud/hud.hpp') 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 +#include +#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(); +}; -- cgit v1.2.3