diff options
| author | Mel <einebeere@gmail.com> | 2022-10-21 01:03:18 +0200 |
|---|---|---|
| committer | Mel <einebeere@gmail.com> | 2022-10-21 01:03:18 +0200 |
| commit | 6ed978051668c08f5a957c97570f364dd580c807 (patch) | |
| tree | e3db93c52fcd86e26bc859d46e755290d2a7f40c /src/Window.hpp | |
| parent | 0464a83dfaebaa75d6e2d3b7431e84ebd83fccfd (diff) | |
| download | meowcraft-6ed978051668c08f5a957c97570f364dd580c807.tar.zst meowcraft-6ed978051668c08f5a957c97570f364dd580c807.zip | |
Namespace and Folder refactor
Diffstat (limited to 'src/Window.hpp')
| -rw-r--r-- | src/Window.hpp | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/src/Window.hpp b/src/Window.hpp deleted file mode 100644 index 5a2b640..0000000 --- a/src/Window.hpp +++ /dev/null @@ -1,27 +0,0 @@ -#pragma once - -#include <cstdint> -#include <GLFW/glfw3.h> - -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; - -}; - -} \ No newline at end of file |
