diff options
| author | hachem <im@hachem.wtf> | 2025-08-14 01:24:24 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-14 01:24:24 +0200 |
| commit | 613f99e937e55f73dcec1251fdce4a9fda077a0f (patch) | |
| tree | b86ed54045783b47a0f856476a6465d3777b7005 /src/Core/Window.h | |
| parent | e050dce79b67ae6386240567a994454711ab998d (diff) | |
[add]: implement an ImGUI layer
Diffstat (limited to 'src/Core/Window.h')
| -rw-r--r-- | src/Core/Window.h | 7 |
1 files changed, 6 insertions, 1 deletions
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); |
