summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
diff options
context:
space:
mode:
authorspholz <44805808+spholz@users.noreply.github.com>2021-08-12 22:27:17 +0200
committerGitHub <noreply@github.com>2021-08-12 22:27:17 +0200
commit78a82495931e8c6b2161f79d2ac00ea88baea4f2 (patch)
tree94480efdcd09a71e676782434a44d124002f835a /src/yuzu_cmd/emu_window/emu_window_sdl2.h
parentnetwork: correct formatting in network.cpp and network_interface.cpp (diff)
parentMerge pull request #6838 from ameerj/sws-align (diff)
downloadyuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar.gz
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar.bz2
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar.lz
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar.xz
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.tar.zst
yuzu-78a82495931e8c6b2161f79d2ac00ea88baea4f2.zip
Diffstat (limited to '')
-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();