bootstd: Support setting a theme for the menu
Allow a theme to be set. For now this is very simple, just a default font size to use for all elements. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -7,6 +7,7 @@
|
||||
#ifndef __bootflow_h
|
||||
#define __bootflow_h
|
||||
|
||||
#include <dm/ofnode_decl.h>
|
||||
#include <linux/list.h>
|
||||
|
||||
struct bootstd_priv;
|
||||
@@ -347,6 +348,15 @@ int bootflow_iter_uses_system(const struct bootflow_iter *iter);
|
||||
*/
|
||||
int bootflow_menu_new(struct expo **expp);
|
||||
|
||||
/**
|
||||
* bootflow_menu_apply_theme() - Apply a theme to a bootmenu
|
||||
*
|
||||
* @exp: Expo to update
|
||||
* @node: Node containing the theme information
|
||||
* Returns 0 on success, -ve on error
|
||||
*/
|
||||
int bootflow_menu_apply_theme(struct expo *exp, ofnode node);
|
||||
|
||||
/**
|
||||
* bootflow_menu_run() - Create and run a menu of available bootflows
|
||||
*
|
||||
|
Reference in New Issue
Block a user