From 23086a5d33acc66414f1169bf22abe78b3383f94 Mon Sep 17 00:00:00 2001 From: hachem Date: Wed, 13 Aug 2025 18:39:13 +0200 Subject: fix: more consistent formatting --- src/core/window.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/core/window.h') 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; -- cgit v1.3