diff options
Diffstat (limited to 'src/Core/Window.h')
| -rw-r--r-- | src/Core/Window.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/Core/Window.h b/src/Core/Window.h new file mode 100644 index 0000000..866d144 --- /dev/null +++ b/src/Core/Window.h @@ -0,0 +1,24 @@ +#pragma once + +#include <GLFW/glfw3.h> +#include <string> + +namespace Donut +{ + class Window + { + public: + Window(const std::string& title, int width, int height); + ~Window(); + + bool ShouldClose() const; + void OnUpdate() const; + private: + GLFWwindow* m_Window; + + std::string m_Title; + int m_Width; + int m_Height; + bool m_IsClosed; + }; +}
\ No newline at end of file |
