yuzu-cmd: hide cursor when in fullscreen

Exposed the SDL_ShowCursor function to EmuWindow baseclass. When creating the window (GL or VK) in fullscreen it now automatically hides the cursor.
This commit is contained in:
san 2021-08-01 21:46:13 +02:00
parent 381aacdbb1
commit 3e26141483
4 changed files with 9 additions and 0 deletions

View file

@ -67,6 +67,9 @@ protected:
/// Called by WaitEvent when any event that may cause the window to be resized occurs
void OnResize();
/// Called when users want to hide the mouse cursor
void ShowCursor(bool show_cursor);
/// Called when user passes the fullscreen parameter flag
void Fullscreen();