mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-07-27 04:25:12 +00:00
SDL window
Allowing to Hide Window
This commit is contained in:
parent
d6d836730f
commit
2bc146e1e6
@ -45,7 +45,7 @@ WindowSDL::WindowSDL(s32 width_, s32 height_, Input::GameController* controller_
|
|||||||
}
|
}
|
||||||
|
|
||||||
SDL_SetWindowFullscreen(window, Config::isFullscreenMode());
|
SDL_SetWindowFullscreen(window, Config::isFullscreenMode());
|
||||||
CursorVisibility(Config::isHideCursor());
|
SetCursorVisibility(Config::isHideCursor());
|
||||||
|
|
||||||
#if defined(SDL_PLATFORM_WIN32)
|
#if defined(SDL_PLATFORM_WIN32)
|
||||||
window_info.type = WindowSystemType::Windows;
|
window_info.type = WindowSystemType::Windows;
|
||||||
|
@ -63,7 +63,7 @@ public:
|
|||||||
private:
|
private:
|
||||||
void onResize();
|
void onResize();
|
||||||
void onKeyPress(const SDL_Event* event);
|
void onKeyPress(const SDL_Event* event);
|
||||||
void CursorVisibility(bool cursor_visibility);
|
void SetCursorVisibility(bool cursor_visibility);
|
||||||
|
|
||||||
private:
|
private:
|
||||||
s32 width;
|
s32 width;
|
||||||
|
Loading…
Reference in New Issue
Block a user