Aestetic changes!
authorhpa <hpa>
Tue, 3 Feb 2004 05:52:19 +0000 (05:52 +0000)
committerhpa <hpa>
Tue, 3 Feb 2004 05:52:19 +0000 (05:52 +0000)
menu/menu.h

index 854f1f8..ff9a701 100644 (file)
 #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
 #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;