hdt: change inactive attributes (MENU)
authorPierre-Alexandre Meyer <pierre@mouraf.org>
Sun, 1 Nov 2009 04:13:51 +0000 (21:13 -0700)
committerErwan Velu <erwan.velu@free.fr>
Sun, 1 Nov 2009 10:44:38 +0000 (11:44 +0100)
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>
com32/hdt/hdt-menu.c

index 298abae..d2b45c9 100644 (file)
@@ -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);