diff options
author | hpa <hpa> | 2004-02-03 05:52:19 +0000 |
---|---|---|
committer | hpa <hpa> | 2004-02-03 05:52:19 +0000 |
commit | 48448cdfab4f2c79e7e8866d423d3b191eab4c60 (patch) | |
tree | 1b347b5de59a271caef9c28f683d2560275b2fe3 | |
parent | c9f10f56c574d0dca79045a915ee28885b834af5 (diff) | |
download | syslinux-48448cdfab4f2c79e7e8866d423d3b191eab4c60.tar.gz |
Aestetic changes!
-rw-r--r-- | menu/menu.h | 32 |
1 files changed, 27 insertions, 5 deletions
diff --git a/menu/menu.h b/menu/menu.h index 854f1f83..ff9a701d 100644 --- a/menu/menu.h +++ b/menu/menu.h @@ -32,18 +32,40 @@ #define SPACEKEY 57 // Scan code for SPACE // Attributes +#if 0 +/* Original black/white with blink */ + #define NORMALATTR 0x70 #define REVERSEATTR 0x87 #define INACTATTR 0x74 -#define REVINACTATTR 0x1F +#define REVINACTATTR 0x87 #define STATUSATTR 0xF0 #define FILLCHAR 178 #define FILLATTR 0x07 #define SHADOWATTR 0x08 #define SPACECHAR ' ' -#define TFILLCHAR ' ' -#define TITLEATTR 0x70 +#define TFILLCHAR ' ' +#define TITLEATTR 0x70 + +#else +/* Alternate color scheme */ + +#define NORMALATTR 0x17 +#define REVERSEATTR 0x70 +#define INACTATTR 0x18 +#define REVINACTATTR 0x78 +#define STATUSATTR 0x74 +#define FILLCHAR 177 +#define FILLATTR 0x01 +#define SHADOWATTR 0x00 +#define SPACECHAR ' ' + +#define TFILLCHAR ' ' +#define TITLEATTR 0x70 + +#endif + #define TITLESTR "COMBOOT Menu System for SYSLINUX developed by Murali Krishnan Ganapathy" // Single line Box drawing Chars @@ -81,11 +103,11 @@ #define MENUROW 3 // Row where menu is displayed #define MENUCOL 4 // Col where menu is displayed #define MENUPAGE 1 // show in display page 1 -#define STATLINE 23 // Line number where status line starts +#define STATLINE 24 // Line number where status line starts // Other Chars #define SUBMENUCHAR 175 // This is >> symbol, << is 174 -#define CHECKED 'X' // This is solid bullet +#define CHECKED 251 // Checkmark #define UNCHECKED 250 // Light bullet typedef enum {OPT_INACTIVE, OPT_SUBMENU, OPT_RUN, OPT_EXITMENU, OPT_CHECKBOX, OPT_RADIOBTN, OPT_EXIT} t_action; |