42 #if !defined(GLS_PALETTE_H)
46 #pragma warning (disable:4786)
50 #include "gls_color.h"
102 disti::glsColor(0x00,0x00,0x00,0x00),
103 disti::glsColor(0x00,0x00,0x00,0xFF),
104 disti::glsColor(0xFF,0xFF,0xFF,0xFF),
105 disti::glsColor(0xDF,0x0F,0x0F,0xFF),
106 disti::glsColor(0x00,0xDD,0x00,0xFF),
107 disti::glsColor(0x00,0x77,0x00,0xFF),
108 disti::glsColor(0x00,0xFF,0x00,0xFF),
109 disti::glsColor(0x32,0x64,0xFF,0xFF),
110 disti::glsColor(0xFF,0xFF,0x22,0xFF),
111 disti::glsColor(0xFF,0xFF,0x77,0xFF),
112 disti::glsColor(0x00,0xFF,0xFF,0xFF),
113 disti::glsColor(0xFF,0x00,0x7F,0xFF),
114 disti::glsColor(0xB5,0x70,0x40,0xFF),
115 disti::glsColor(0xFF,0xD2,0x00,0xFF),
116 disti::glsColor(0x99,0x99,0x99,0xFF)
122 static const disti::glsColor&
RED = COLOR[
eRED];
147 if (name == COLOR_NAME[i])
184 #endif // GLS_PALETTE_H
static const disti::glsColor & GREEN
static const disti::glsColor & GREY
static const disti::glsColor & CLEAR
static const disti::glsColor & MAGENTA
static const disti::glsColor & BROWN
static const disti::glsColor & BLACK
static const disti::glsColor & LIGHT_GREEN
std::istream & operator>>(std::istream &instr, GlsPalette::Color_t &color)
static const disti::glsColor COLOR[LAST_COLOR+1]
Used to convert a color enum into a glsColor value.
static const char * COLOR_NAME[LAST_COLOR+1]
Used to convert a string into the proper color enum.
static const disti::glsColor & DARK_GREEN
std::ostream & operator<<(std::ostream &outstr, GlsPalette::Color_t color)
static const disti::glsColor & YELLOW
static const disti::glsColor & AMBER
static const disti::glsColor & WHITE
static const disti::glsColor & BLUE
static const disti::glsColor & CYAN
const disti::glsColor & ColorFromName(const std::string &name)
static const disti::glsColor & RED
static const disti::glsColor & PALE_YELLOW