added graphic definition for activated state for level set info button
authorHolger Schemel <info@artsoft.org>
Tue, 7 Feb 2023 23:52:27 +0000 (00:52 +0100)
committerHolger Schemel <info@artsoft.org>
Tue, 7 Feb 2023 23:52:27 +0000 (00:52 +0100)
src/conf_gfx.c
src/screens.c

index 3616c73b7662f854fc962f041c16db0cc4f58c7f..b168262dc2721c601a3908219ffc1066c3b2dbea 100644 (file)
@@ -6209,6 +6209,8 @@ struct ConfigInfo image_config[] =
   { "menu.button_levelset_info.clone_from",    "envelope_1"            },
   { "menu.button_levelset_info.active",                UNDEFINED_FILENAME      },
   { "menu.button_levelset_info.active.clone_from", "envelope_1.collecting" },
+  { "menu.button_levelset_info.pressed",       UNDEFINED_FILENAME      },
+  { "menu.button_levelset_info.pressed.clone_from", "envelope_1"       },
 
   { "menu.button_switch_ecs_aga",              UNDEFINED_FILENAME      },
   { "menu.button_switch_ecs_aga.active",       UNDEFINED_FILENAME      },
index 0df80eb6e2f25e1c3288fc26f09db523c6e7eb2a..3e0dd34395e10bed20fe43594895ee2a65dead76 100644 (file)
@@ -9664,7 +9664,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_ACTIVE,
+    IMG_MENU_BUTTON_LEVELSET_INFO_PRESSED,
     &menu.main.button.levelset_info, NULL,
     SCREEN_CTRL_ID_LEVELSET_INFO,
     SCREEN_MASK_MAIN_HAS_SET_INFO,