sdl windowed fullscreen (#2351)

This commit is contained in:
briaguya 2023-01-17 22:14:45 -05:00 committed by GitHub
parent f665326a67
commit 750ae907c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 1 deletions

@ -1 +1 @@
Subproject commit b1c75c86e902e5036ee1d36afad1a35313988fe7
Subproject commit 7f04a562b2e1ece4c85165b4efdf4258cdf94d74

View File

@ -271,6 +271,10 @@ namespace GameMenuBar {
ImGui::PopStyleVar(1);
}
if (SohImGui::supportsWindowedFullscreen()) {
UIWidgets::PaddedEnhancementCheckbox("Windowed fullscreen", "gSdlWindowedFullscreen", true, false);
}
if (SohImGui::supportsViewports()) {
UIWidgets::PaddedEnhancementCheckbox("Allow multi-windows", "gEnableMultiViewports", true, false);
UIWidgets::Tooltip("Allows windows to be able to be dragged off of the main game window. Requires a reload to take effect.");