Set up the theme colour and apply it in bootflow_menu_set_props() so that the simple menu always looks the same when selected. Signed-off-by: Simon Glass <sjg@chromium.org> --- boot/bootflow_menu.c | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/boot/bootflow_menu.c b/boot/bootflow_menu.c index 2f60ccd59ce..d731a8a8c8c 100644 --- a/boot/bootflow_menu.c +++ b/boot/bootflow_menu.c @@ -62,6 +62,7 @@ static int bootflow_menu_set_item_props(struct scene *scn, int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, const char *title) { + struct expo_theme *theme = &exp->theme; struct abuf *buf; int ret = 0; bool use_font; @@ -133,6 +134,13 @@ int bootflow_menu_set_props(struct expo *exp, struct scene *scn, bool has_logo, /* tell the menu to lay out its objects */ scene_obj_set_manual(scn, OBJ_MENU, false); + scene_obj_set_hide(scn, OBJ_POINTER, false); + + theme->white_on_black = true; + ret = expo_apply_theme(exp, true); + if (ret) + return log_msg_ret("mat", ret); + expo_set_mouse_enable(exp, false); exp->show_highlight = true; -- 2.43.0