diff options
author | adityaruplaha <adi24360526@gmail.com> | 2018-04-21 09:52:34 +0200 |
---|---|---|
committer | adityaruplaha <adi24360526@gmail.com> | 2018-04-21 09:54:33 +0200 |
commit | f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a (patch) | |
tree | 551cdec2d10712ab347dc204ceb0340f8fa29b9f /src/yuzu_cmd/emu_window/emu_window_sdl2.h | |
parent | Merge pull request #323 from Hexagon12/stub-hid (diff) | |
download | yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar.gz yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar.bz2 yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar.lz yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar.xz yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.tar.zst yuzu-f48d5e4c4c03ffc8c374b2ec5a2d2455050bbf8a.zip |
Diffstat (limited to 'src/yuzu_cmd/emu_window/emu_window_sdl2.h')
-rw-r--r-- | src/yuzu_cmd/emu_window/emu_window_sdl2.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/yuzu_cmd/emu_window/emu_window_sdl2.h b/src/yuzu_cmd/emu_window/emu_window_sdl2.h index 3664d2fbe..7d5cfffb6 100644 --- a/src/yuzu_cmd/emu_window/emu_window_sdl2.h +++ b/src/yuzu_cmd/emu_window/emu_window_sdl2.h @@ -12,7 +12,7 @@ struct SDL_Window; class EmuWindow_SDL2 : public EmuWindow { public: - EmuWindow_SDL2(); + explicit EmuWindow_SDL2(bool fullscreen); ~EmuWindow_SDL2(); /// Swap buffers to display the next frame @@ -43,6 +43,9 @@ private: /// Called by PollEvents when any event that may cause the window to be resized occurs void OnResize(); + /// Called when user passes the fullscreen parameter flag + void Fullscreen(); + /// Called when a configuration change affects the minimal size of the window void OnMinimalClientAreaChangeRequest( const std::pair<unsigned, unsigned>& minimal_size) override; |