From 554d41ca1e30dd420cf2875fe2d2c74de41b6ea3 Mon Sep 17 00:00:00 2001 From: feyris-tan <4116042+feyris-tan@users.noreply.github.com> Date: Mon, 11 Aug 2025 19:44:06 +0200 Subject: [PATCH] Toggle the XNA Fullscreen. --- GUIs/skyscraper8.UI.ImGui.MonoGame/SkyscraperGame.cs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/GUIs/skyscraper8.UI.ImGui.MonoGame/SkyscraperGame.cs b/GUIs/skyscraper8.UI.ImGui.MonoGame/SkyscraperGame.cs index 4cabe3d..7877a15 100644 --- a/GUIs/skyscraper8.UI.ImGui.MonoGame/SkyscraperGame.cs +++ b/GUIs/skyscraper8.UI.ImGui.MonoGame/SkyscraperGame.cs @@ -39,6 +39,15 @@ namespace moe.yo3explorer.skyscraper8.UI.MonoGame } ImGui.EndMenu(); } + + if (ImGui.BeginMenu("View")) + { + if (ImGui.MenuItem("Toggle Full Screen")) + { + _graphics.ToggleFullScreen(); + } + ImGui.EndMenu(); + } ImGui.EndMainMenuBar(); base.ImGuiLayout();