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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user