summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2021-08-07 11:00:29 +0200
committerGitHub <noreply@github.com>2021-08-07 11:00:29 +0200
commit456adb95ff7ddbf109af7b651e84c0755d11df18 (patch)
treeaf510d563dd78bfa0e37737ef56ee0aaa4f053d4 /src/yuzu_cmd/emu_window/emu_window_sdl2.h
parentMerge pull request #6815 from german77/ui_improvements (diff)
parentyuzu-cmd: hide cursor when in fullscreen (diff)
downloadyuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar.gz
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar.bz2
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar.lz
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar.xz
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.tar.zst
yuzu-456adb95ff7ddbf109af7b651e84c0755d11df18.zip
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h')
-rw-r--r--src/yuzu_cmd/emu_window/emu_window_sdl2.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
index aa0d52ae4..4810f8775 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
@@ -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();