#pragma once #include #include namespace MC { class Window { public: Window(const char* title, uint32_t width, uint32_t height); ~Window(); GLFWwindow* get(); void on_size_change(void (* callback)(GLFWwindow*, int, int)); void close(); void start_frame(); bool key(int key, int type); bool should_close(); private: GLFWwindow* m_window; }; }