[coreboot] [PATCH 1/2] bayou: use ACS for line drawing
Ulf Jordan
jordan at chalmers.se
Tue Nov 4 20:48:58 CET 2008
On Sat, 16 Aug 2008, Ulf Jordan wrote:
> Hello!
>
> Attached is a patch to update Bayou v0.3 to use ACS_ macros for the line
> drawing characters in the menu window border.
>
> Build and run tested under QEMU with bayou-0.3+coreboot-v3.
Here's the patch rediffed against bayou in svn.
/ulf
-------------- next part --------------
Update bayou to use ACS_ macros for line drawing characters.
Signed-off-by: Ulf Jordan <jordan at chalmers.se>
Index: bayou/menu.c
===================================================================
--- bayou/menu.c (revision 3730)
+++ bayou/menu.c (arbetskopia)
@@ -67,8 +67,8 @@
wattrset(menuwin, COLOR_PAIR(3));
wclear(menuwin);
- wborder(menuwin, '\263', '\263', '\304', '\304', '\332',
- '\277', '\300', '\331');
+ wborder(menuwin, ACS_VLINE, ACS_VLINE, ACS_HLINE, ACS_HLINE,
+ ACS_ULCORNER, ACS_URCORNER, ACS_LLCORNER, ACS_LRCORNER);
wattrset(menuwin, COLOR_PAIR(4) | A_BOLD);
mvwprintw(menuwin, 0, (menu_width - 17) / 2, " Payload Chooser ");
More information about the coreboot
mailing list