fix: better cursor handling

This commit is contained in:
NOTPIES committed 2026-03-02 00:56:17 -03:00
1 parent 3fc220a10b
commit ee31d72f91
3 files changed
+40 -18

No files matched your search

+5
View File
@@ -58,6 +58,9 @@ public:
void SetMouseGrabbed(bool grabbed);
bool IsMouseGrabbed() const { return m_mouseGrabbed; }
void SetCursorHiddenForUI(bool hidden);
bool IsCursorHiddenForUI() const { return m_cursorHiddenForUI; }
void SetWindowFocused(bool focused);
bool IsWindowFocused() const { return m_windowFocused; }
@@ -99,6 +102,8 @@ private:
bool m_mouseGrabbed;
bool m_cursorHiddenForUI;
bool m_windowFocused;
bool m_hasInput;