Ceylan::System::Console::Console::ForegroundColor Struct Reference

Escape sequences for color foregrounds in terminal. More...

#include <CeylanConsole.h>

List of all members.

Static Public Attributes

static const char *const Red = "\033[91m"
static const char *const Green = "\033[92m"
static const char *const Blue = "\033[94m"
static const char *const Cyan = "\033[96m"
static const char *const White = "\033[97m"
static const char *const Yellow = "\033[93m"
static const char *const Magenta = "\033[95m"
static const char *const Grey = "\033[90m"
static const char *const Black = "\033[90m"
static const char *const Default = "\033[99m"


Detailed Description

Escape sequences for color foregrounds in terminal.

Just use for example: cout << Console::ForegroundColor::Red << "Hello!" ;

Note:
Some color names may relate to the same actual colors (ex: Grey and Black).

Definition at line 436 of file CeylanConsole.h.


Member Data Documentation

const char *const Console::ForegroundColor::Black = "\033[90m" [static]

Definition at line 447 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Blue = "\033[94m" [static]

Definition at line 441 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Cyan = "\033[96m" [static]

Definition at line 442 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Default = "\033[99m" [static]

Definition at line 448 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Green = "\033[92m" [static]

Definition at line 440 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Grey = "\033[90m" [static]

Definition at line 446 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Magenta = "\033[95m" [static]

Definition at line 445 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Red = "\033[91m" [static]

Definition at line 439 of file CeylanConsole.h.

const char *const Console::ForegroundColor::White = "\033[97m" [static]

Definition at line 443 of file CeylanConsole.h.

const char *const Console::ForegroundColor::Yellow = "\033[93m" [static]

Definition at line 444 of file CeylanConsole.h.


The documentation for this struct was generated from the following files:

Generated on Thu Jun 4 20:40:46 2009 for Ceylan by  doxygen 1.5.8