mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2026-06-13 15:03:58 +03:00
video: Add a dark-grey console colour
This is useful for highlighting something with a black background, as is needed with cedit when using a white-on-black console. Add this as a new colour. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
@@ -339,7 +339,7 @@ static void scene_render_background(struct scene_obj *obj, bool box_only)
|
||||
|
||||
/* draw a background for the object */
|
||||
if (CONFIG_IS_ENABLED(SYS_WHITE_ON_BLACK)) {
|
||||
fore = VID_BLACK;
|
||||
fore = VID_DARK_GREY;
|
||||
back = VID_WHITE;
|
||||
} else {
|
||||
fore = VID_LIGHT_GRAY;
|
||||
|
||||
Reference in New Issue
Block a user