X-Git-Url: https://git.artsoft.org/?a=blobdiff_plain;f=src%2Fscreens.c;h=d10b95d101f3bd9ad5112ed6cb34aef2a06c74b5;hb=487e1b8ecea9121a3408e5d4f968945e071aa4aa;hp=0df80eb6e2f25e1c3288fc26f09db523c6e7eb2a;hpb=5185b85b7cd3f0b957900a2fd7ee757838895e96;p=rocksndiamonds.git diff --git a/src/screens.c b/src/screens.c index 0df80eb6..d10b95d1 100644 --- a/src/screens.c +++ b/src/screens.c @@ -3268,6 +3268,8 @@ static void DrawInfoScreen_TitleScreen(void) { SetGameStatus(GAME_MODE_TITLE); + UnmapAllGadgets(); + DrawTitleScreen(); } @@ -3280,6 +3282,7 @@ static void DrawInfoScreen_Elements(void) { SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_ELEMENTS); + UnmapAllGadgets(); FadeInfoSoundsAndMusic(); FadeOut(REDRAW_FIELD); @@ -3382,6 +3385,8 @@ static void DrawInfoScreen_Music(void) { SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_MUSIC); + UnmapAllGadgets(); + FadeOut(REDRAW_FIELD); ClearField(); @@ -3591,6 +3596,7 @@ static void DrawInfoScreen_Version(void) SetMainBackgroundImageIfDefined(IMG_BACKGROUND_INFO_VERSION); + UnmapAllGadgets(); FadeInfoSoundsAndMusic(); FadeOut(REDRAW_FIELD); @@ -3892,6 +3898,7 @@ static void DrawInfoScreen_Generic(void) { SetMainBackgroundImageIfDefined(getInfoScreenBackgroundImage_Generic()); + UnmapAllGadgets(); FadeInfoSoundsAndMusic(); FadeOut(REDRAW_FIELD); @@ -9664,7 +9671,8 @@ static struct FALSE, "play solution tape" }, { - IMG_MENU_BUTTON_LEVELSET_INFO, IMG_MENU_BUTTON_LEVELSET_INFO_ACTIVE, -1, + IMG_MENU_BUTTON_LEVELSET_INFO, IMG_MENU_BUTTON_LEVELSET_INFO_PRESSED, + IMG_MENU_BUTTON_LEVELSET_INFO_ACTIVE, &menu.main.button.levelset_info, NULL, SCREEN_CTRL_ID_LEVELSET_INFO, SCREEN_MASK_MAIN_HAS_SET_INFO,