Implement Cursor Locking and new input focus checks for it

This commit is contained in:
Filoppi committed 2021-05-27 10:31:12 +03:00
1 parent ff08b85740
commit 3c7c2dfaa1
25 files changed
+400 -15

No files matched your search

+6
View File
@@ -98,6 +98,12 @@ bool Host_RendererHasFocus()
return s_platform->IsWindowFocused();
}
bool Host_RendererHasFullFocus()
{
// Mouse capturing isn't implemented
return Host_RendererHasFocus();
}
bool Host_RendererIsFullscreen()
{
return s_platform->IsWindowFullscreen();