Changed the console color names to something simpler and better fitting.

Added comments about which colors can be used for what (unlike Bochs,
real systems support blinking modes, and therefore only 7 bits for
the background color).


git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9752 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2004-11-03 02:25:28 +00:00
parent 92e0317c84
commit d70ad16601

View File

@ -11,20 +11,22 @@
enum console_color {
// foreground and background colors
BLACK,
NAVY,
GREEN,
TEAL,
MAROON,
PURPLE,
OLIVE,
SILVER,
GREY,
BLUE,
LIME,
AQUA,
GREEN,
CYAN,
RED,
FUCHSIA,
PURPLE,
BROWN,
GRAY,
// foreground colors only
DARK_GRAY,
BRIGHT_BLUE,
BRIGHT_GREEN,
BRIGHT_CYAN,
BRIGHT_RED,
MAGENTA,
YELLOW,
WHITE
};