32#define BLACK "\033[30m"
34#define GREEN "\033[32m"
35#define BROWN "\033[33m"
36#define BLUE "\033[34m"
37#define MAGENTA "\033[35m"
38#define CYAN "\033[36m"
39#define WHITE "\033[37m"
51#define BOLDRED "\033[31;1m"
52#define BOLDGREEN "\033[32;1m"
53#define BOLDBROWN "\033[33;1m"
54#define BOLDBLUE "\033[34;1m"
55#define BOLDMAGENTA "\033[35;1m"
56#define BOLDCYAN "\033[36;1m"
57#define BOLDWHITE "\033[37;1m"
59#define BACKRED "\033[41m"
60#define BACKGREEN "\033[42m"
61#define BACKBLUE "\033[44m"
65#define NORMAL "\033[0m"
std::map< Qw::EQwColor, std::string > QwColorMap
std::ostream & operator<<(std::ostream &out, const QwColor &color)
Output stream operator which uses the enum-to-escape-code mapping.
A color changing class for the output stream.
QwColor(const Qw::EQwColor f=Qw::kDefaultForeground, const Qw::EQwColor b=Qw::kDefaultBackground)
Default constructor.
static QwColorMap CreateColorMap()
static QwColorMap kColorMap
Qw::EQwColor foreground
Foreground color.
friend std::ostream & operator<<(std::ostream &out, const QwColor &color)
Output stream operator.