hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/core/window.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/window.h')
-rw-r--r--src/core/window.h10
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;