Feature - 256 color support

- Inverted the _COLOR_NOFG to be _COLOR_HASFG, for better readability and
  the added benefit of having newly constructed color with no specification
  having a value of 0.
This commit is contained in:
Paul Beckingham 2009-10-04 09:55:06 -04:00
parent 157b32e93b
commit 3cd45c3acd
2 changed files with 45 additions and 48 deletions

View file

@ -31,8 +31,8 @@
////////////////////////////////////////////////////////////////////////////////
#define _COLOR_256 0x00200000 // 256-color mode.
#define _COLOR_NOBG 0x00100000 // No background color (all values taken).
#define _COLOR_NOFG 0x00080000 // No foreground color (all values taken).
#define _COLOR_HASBG 0x00100000 // Has background color (all values taken).
#define _COLOR_HASFG 0x00080000 // Has foreground color (all values taken).
#define _COLOR_UNDERLINE 0x00040000 // General underline attribute.
#define _COLOR_BOLD 0x00020000 // 16-color bold attribute.
#define _COLOR_BRIGHT 0x00010000 // 16-color bright background attribute.