mirror of
https://git.minecraftlegacy.com/backups/LCEMP.git
synced 2026-12-01 16:11:36 +00:00
fix: better cursor handling
This commit is contained in:
1 parent
3fc220a10b
commit
ee31d72f91
3 files changed
+40
-18
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user