aboutsummaryrefslogtreecommitdiff
path: root/src/Core/Window.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2025-08-13 18:39:13 +0200
committerhachem <im@hachem.wtf>2025-08-13 18:39:13 +0200
commit8a0b2a59c9809d5fc8e6a30c2abc4d5af21aa39e (patch)
tree41adf621418b790100d207c1534236945b431d1e /src/Core/Window.h
parentf1517709556827fb8b7bab00bdee4a9794d88dd1 (diff)
[fix]: More consistent formatting
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 c1cda2d..64cde32 100644
--- a/src/Core/Window.h
+++ b/src/Core/Window.h
@@ -24,14 +24,14 @@ namespace Donut
EventHandler& GetEventHandler() { return m_EventHandler; }
- unsigned int GetWidth() const { return m_Width; }
+ unsigned int GetWidth() const { return m_Width; }
unsigned int GetHeight() const { return m_Height; }
- void* GetNativeWindow() const { return m_Window; }
+ void* GetNativeWindow() const { return m_Window; }
void SetCursorLocked(bool locked);
void SetCursorVisible(bool visible);
- bool IsCursorLocked() const { return m_CursorLocked; }
+ bool IsCursorLocked() const { return m_CursorLocked; }
bool IsCursorVisible() const { return m_CursorVisible; }
private:
void Init();
@@ -48,10 +48,10 @@ namespace Donut
static void GLFWMouseScrollCallback(GLFWwindow* window, double xOffset, double yOffset);
static void GLFWCursorPosCallback(GLFWwindow* window, double xPos, double yPos);
private:
- GLFWwindow* m_Window;
+ GLFWwindow* m_Window;
EventHandler m_EventHandler;
- std::string m_Title;
+ std::string m_Title;
unsigned int m_Width;
unsigned int m_Height;
bool m_IsClosed;