summaryrefslogtreecommitdiffstats
path: root/src/yuzu_cmd/emu_window/emu_window_sdl2.h
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2020-01-21 20:40:53 +0100
committerReinUsesLisp <reinuseslisp@airmail.cc>2020-01-29 21:53:11 +0100
commitf92cbc55018b5a3d98dd2093354f20c62ace5fda (patch)
tree7ec9af0d8820b45de580c2d608fdb1853485db83 /src/yuzu_cmd/emu_window/emu_window_sdl2.h
parentweb_service/telemetry_json: Report USER_CONFIG (diff)
downloadyuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.gz
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.bz2
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.lz
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.xz
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.tar.zst
yuzu-f92cbc55018b5a3d98dd2093354f20c62ace5fda.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 eaa971f77..b38f56661 100644
--- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h
+++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h
@@ -21,6 +21,9 @@ public:
/// Whether the window is still open, and a close request hasn't yet been sent
bool IsOpen() const;
+ /// Returns if window is shown (not minimized)
+ bool IsShown() const override;
+
protected:
/// Called by PollEvents when a key is pressed or released.
void OnKeyEvent(int key, u8 state);