[coreboot] [PATCH 2/2] bayou: adjust color pairs

Ulf Jordan jordan at chalmers.se
Sat Aug 16 23:03:57 CEST 2008


Hello!

Atttached is a patch that will restore blue background and bright yellow
menu title in Bayou v0.3, after (if) the tinycurses VGA color correction
patch is applied (see an earlier thread started today).

Build and run tested under QEMU with bayou-0.3+coreboot-v3.

/ulf
-------------- next part --------------
Adjust color pair initialization to give a blue background screen and
bright yellow heading text,  after correction of tinycurses VGA color
handling code.

Signed-off-by: Ulf Jordan <jordan at chalmers.se>

Index: bayou-0.3/src/menu.c
===================================================================
--- bayou-0.3/src/menu.c.orig	2008-06-20 00:33:21.000000000 +0200
+++ bayou-0.3/src/menu.c	2008-08-14 23:19:51.000000000 +0200
@@ -137,11 +137,11 @@
 {
 	initscr();
 
-        init_pair(1, COLOR_WHITE, COLOR_RED);
+        init_pair(1, COLOR_WHITE, COLOR_BLUE);
         init_pair(2, COLOR_BLACK, COLOR_WHITE);
         init_pair(3, COLOR_BLACK, COLOR_WHITE);
-	init_pair(4, COLOR_CYAN, COLOR_WHITE);
-	init_pair(5, COLOR_WHITE, COLOR_RED);
+	init_pair(4, COLOR_YELLOW, COLOR_WHITE);
+	init_pair(5, COLOR_WHITE, COLOR_BLUE);
 
 	wattrset(stdscr, COLOR_PAIR(1));
 	wclear(stdscr);


More information about the coreboot mailing list