From 0dc8c7740c8f5a7155259f0e55618f8006c0d7af Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Fri, 2 May 2025 08:46:50 -0600 Subject: expo: Support highlighting menu items Expo normally uses a pointer to show the current item. Add support for highlighting as well, since this makes it easier for the user to see the current item. Signed-off-by: Simon Glass --- include/expo.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'include') diff --git a/include/expo.h b/include/expo.h index 16f2f18c4fa..dfecd6ed239 100644 --- a/include/expo.h +++ b/include/expo.h @@ -106,6 +106,7 @@ struct expo_theme { * type set to EXPOACT_NONE if there is no action * @text_mode: true to use text mode for the menu (no vidconsole) * @popup: true to use popup menus, instead of showing all items + * @show_highlight: show a highlight bar on the selected menu item * @priv: Private data for the controller * @done: Indicates that a cedit session is complete and the user has quit * @save: Indicates that cedit data should be saved, rather than discarded @@ -123,6 +124,7 @@ struct expo { struct expo_action action; bool text_mode; bool popup; + bool show_highlight; void *priv; bool done; bool save; -- cgit v1.3.1