From a4dfd18e7d3cfc907053d10b57ba206b62a5e830 Mon Sep 17 00:00:00 2001 From: Pierre-Alexandre Meyer Date: Sat, 31 Oct 2009 21:13:51 -0700 Subject: [PATCH] hdt: change inactive attributes (MENU) The default inactive attributes in cmenu make little sense in HDT. They actually make the menus hard to read. Instead, use the same attributes as the active entries for the inactive ones. Signed-off-by: Pierre-Alexandre Meyer --- com32/hdt/hdt-menu.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c index 298abae..d2b45c9 100644 --- a/com32/hdt/hdt-menu.c +++ b/com32/hdt/hdt-menu.c @@ -121,6 +121,9 @@ void setup_menu(char *version) init_menusystem(version); set_window_size(0, 0, 25, 80); + /* Do not use inactive attributes - they make little sense for HDT */ + set_normal_attr(-1, -1, 0x17, 0x1F); + /* Register the menusystem handler */ // reg_handler(HDLR_SCREEN,&msys_handler); reg_handler(HDLR_KEYS, &keys_handler); -- 2.7.4