aboutsummaryrefslogtreecommitdiffstats
path: root/com32
diff options
context:
space:
mode:
authorPierre-Alexandre Meyer <pierre@mouraf.org>2009-10-31 21:13:51 -0700
committerErwan Velu <erwan.velu@free.fr>2009-11-01 11:44:38 +0100
commita4dfd18e7d3cfc907053d10b57ba206b62a5e830 (patch)
tree4f56fd14440f0914118ff3e54c41dd9e0bf461b2 /com32
parent512de9792b2fd4a9af1033ea6ef6c8033e4dfb9f (diff)
downloadsyslinux-a4dfd18e7d3cfc907053d10b57ba206b62a5e830.tar.gz
syslinux-a4dfd18e7d3cfc907053d10b57ba206b62a5e830.tar.xz
syslinux-a4dfd18e7d3cfc907053d10b57ba206b62a5e830.zip
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 <pierre@mouraf.org>
Diffstat (limited to 'com32')
-rw-r--r--com32/hdt/hdt-menu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/com32/hdt/hdt-menu.c b/com32/hdt/hdt-menu.c
index 298abae2..d2b45c9d 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);