From 613f99e937e55f73dcec1251fdce4a9fda077a0f Mon Sep 17 00:00:00 2001 From: hachem Date: Thu, 14 Aug 2025 01:24:24 +0200 Subject: [add]: implement an ImGUI layer --- src/Core/Window.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/Core/Window.h') diff --git a/src/Core/Window.h b/src/Core/Window.h index c598bf2..26df099 100644 --- a/src/Core/Window.h +++ b/src/Core/Window.h @@ -35,10 +35,15 @@ namespace Donut void SetCursorVisible(bool visible); bool IsCursorLocked() const { return m_CursorLocked; } bool IsCursorVisible() const { return m_CursorVisible; } + + void InitImGui(); + void BeginImGuiFrame(); + void EndImGuiFrame(); private: void Init(); void Shutdown(); - + void ShutdownImGui(); + static void GLFWErrorCallback(int error, const char* description); static void GLFWWindowCloseCallback(GLFWwindow* window); static void GLFWWindowSizeCallback(GLFWwindow* window, int width, int height); -- cgit v1.3