Implement Cursor Locking and new input focus checks for it

This commit is contained in:
Filoppi
2021-05-09 13:28:04 +03:00
parent ff08b85740
commit 3c7c2dfaa1
25 changed files with 400 additions and 15 deletions

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();