diff options
| author | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2025-08-13 18:39:13 +0200 |
| commit | 23086a5d33acc66414f1169bf22abe78b3383f94 (patch) | |
| tree | a895c3e3ab8074118a84aada97ea990b60fba556 /src/core/window.h | |
| parent | 2d8f706efe6e0a02b3238c2f22e7cdce620e9807 (diff) | |
fix: more consistent formatting
Diffstat (limited to 'src/core/window.h')
| -rw-r--r-- | src/core/window.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/core/window.h b/src/core/window.h index d541b54..cf80cac 100644 --- a/src/core/window.h +++ b/src/core/window.h @@ -24,14 +24,14 @@ namespace Donut EventHandler& get_event_handler() { return m_event_handler; } - unsigned int get_width() const { return m_width; } + unsigned int get_width() const { return m_width; } unsigned int get_height() const { return m_height; } - void* get_native_window() const { return m_window; } + void* get_native_window() const { return m_window; } void set_cursor_locked(bool locked); void set_cursor_visible(bool visible); - bool is_cursor_locked() const { return m_cursor_locked; } + bool is_cursor_locked() const { return m_cursor_locked; } bool is_cursor_visible() const { return m_cursor_visible; } private: void init(); @@ -48,10 +48,10 @@ namespace Donut static void glfw_mouse_scroll_callback(GLFWwindow* window, double x_offset, double y_offset); static void glfw_cursor_pos_callback(GLFWwindow* window, double x_pos, double y_pos); private: - GLFWwindow* m_window; + GLFWwindow* m_window; EventHandler m_event_handler; - std::string m_title; + std::string m_title; unsigned int m_width; unsigned int m_height; bool m_is_closed; |
