The basic menu uses a pointer to show the current menu item. Show this and hide some other objects which are not wanted. Mark the box as unfilled, since this is how it is used with the basic menu. Explicitly disable the mouse pointer. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/bootflow_menu.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 3df15959c0e..686769e57b5 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -40,6 +40,7 @@ int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, bool use_font; ret |= scene_obj_set_bbox(scn, OBJ_BOX, 30, 90, 1366 - 30, 720); + scene_box_set_fill(scn, OBJ_BOX, false); ret |= scene_obj_set_pos(scn, OBJ_MENU, MARGIN_LEFT, 100); ret |= scene_obj_set_bbox(scn, OBJ_MENU_TITLE, 0, 32, 1366, 60); @@ -93,6 +94,17 @@ int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, "edit the commands before booting or 'c' for a " "command-line. ESC to return to previous menu"); + /* hide a few things we don't use */ + scene_obj_set_hide(scn, OBJ_OTHER_LOGO, true); + scene_obj_set_hide(scn, OBJ_SETTINGS, true); + scene_obj_set_hide(scn, OBJ_HELP, true); + + /* select the menu and hide the pointer */ + scene_set_highlight_id(scn, OBJ_MENU); + scene_obj_set_hide(scn, OBJ_POINTER, false); + + expo_set_mouse_enable(exp, false); + exp->show_highlight = true; return 0; -- 2.43.0