Added fullscreen indication

master
Mohammad Shoaib 2022-03-29 19:25:53 +05:30
parent 101d0f496c
commit 5d8912ae7c
2 changed files with 5 additions and 1 deletions

View File

@ -27,5 +27,8 @@ namespace stardew_access
public KeybindList ReadStandingTileKey { get; set; } = KeybindList.Parse("LeftAlt + J");
#endregion
// TODO Add the exclusion and focus list too
// public String ExclusionList { get; set; } = "test";
}
}

View File

@ -87,7 +87,8 @@ namespace stardew_access.Patches
if (__instance.windowedButton.containsPoint(Game1.getMouseX(true), Game1.getMouseY(true)))
{
toSpeak = "Fullscreen toggle Button";
bool isFullscreen = Game1.options.isCurrentlyFullscreen();
toSpeak = "Fullscreen: " + ((isFullscreen) ? "on" : "off");
}
if (TitleMenu.subMenu != null && __instance.backButton.containsPoint(Game1.getMouseX(true), Game1.getMouseY(true)))