mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
expo: Support simple themes
It is a pain to manually set the fonts of all objects to be consistent. Some spacing settings are also better set globally than by manually positioning each object. Add a 'theme' to the expo, to hold this information. For now it includes only the font size. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -155,8 +155,13 @@ such as scanning devices for more bootflows.
|
||||
Themes
|
||||
------
|
||||
|
||||
Expo does not itself support themes. The bootflow_menu implement supposed a
|
||||
basic theme, applying font sizes to the various text objects in the expo.
|
||||
Expo supports simple themes, for setting the font size, for example. Use the
|
||||
expo_apply_theme() function to load a theme, passing a node with the required
|
||||
properties:
|
||||
|
||||
font-size
|
||||
Font size to use for all text (type: u32)
|
||||
|
||||
|
||||
API documentation
|
||||
-----------------
|
||||
|
||||
Reference in New Issue
Block a user