expo: Use a different logo for the second menu-item

When testing menu items it is easier to check that the correct preview
is shown if the preview images are different. Make a copy of the image
and modify the palette for the second menu item, so this is obvious.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2025-05-05 17:42:40 +02:00
parent baa389273a
commit e57c6e3c58
4 changed files with 30 additions and 10 deletions

View File

@@ -67,7 +67,7 @@ int bootflow_menu_new(struct expo **expp)
SCENEOB_DISPLAY_MAX, 30);
ret |= scene_obj_set_halign(scn, OBJ_MENU_TITLE, SCENEOA_CENTRE);
logo = video_get_u_boot_logo();
logo = video_get_u_boot_logo(NULL);
if (logo) {
ret |= scene_img(scn, "ulogo", OBJ_U_BOOT_LOGO, logo, NULL);
ret |= scene_obj_set_pos(scn, OBJ_U_BOOT_LOGO, 1165, 100);