FACT++  1.0
bool ReadlineColor::PrintAttributes ( std::ostream &  out)

Displays the available ncurses attributes, like color.

Returns
always true

Definition at line 75 of file ReadlineColor.cc.

References kAltCharset, kBlink, kBlue, kBold, kCyan, kDefault, kDim, kGreen, kHighlight, kInvisible, kMagenta, kNormal, kProtect, kRed, kReset, kReverse, kUnderline, kWhite, and kYellow.

Referenced by Process().

76 {
77  out << endl;
78  out << " Attributes:" << endl;
79  out << " " << kReset << "kReset" << endl;
80  out << " " << kNormal << "kNormal" << endl;
81  out << " " << kHighlight << "kHighlight" << endl;
82  out << " " << kReverse << "kReverse" << endl;
83  out << " " << kUnderline << "kUnderline" << endl;
84  out << " " << kBlink << "kBlink" << endl;
85  out << " " << kDim << "kDim" << endl;
86  out << " " << kBold << "kBold" << endl;
87  out << " " << kProtect << "kProtect" << endl;
88  out << " " << kInvisible << "kInvisible" << endl;
89  out << " " << kAltCharset << "kAltCharset" << kReset << " (kAltCharset)" << endl;
90  out << endl;
91  out << " Colors:" << endl;
92  out << " " << kDefault << "kDefault " << kBold << "+ kBold" << endl;
93  out << " " << kRed << "kRed " << kBold << "+ kBold" << endl;
94  out << " " << kGreen << "kGreen " << kBold << "+ kBold" << endl;
95  out << " " << kYellow << "kYellow " << kBold << "+ kBold" << endl;
96  out << " " << kBlue << "kBlue " << kBold << "+ kBold" << endl;
97  out << " " << kMagenta << "kMagenta " << kBold << "+ kBold" << endl;
98  out << " " << kCyan << "kCyan " << kBold << "+ kBold" << endl;
99  out << " " << kWhite << "kWhite " << kBold << "+ kBold" << endl;
100  out << " " << endl;
101 
102  return true;
103 }
Set attribute Invisible.
Definition: WindowLog.h:38
Set color Cyan.
Definition: WindowLog.h:22
Set attribute Reverse.
Definition: WindowLog.h:33
Set attribute Alternative charset.
Definition: WindowLog.h:39
Set color White.
Definition: WindowLog.h:23
Set color Green.
Definition: WindowLog.h:18
Set color Yellow.
Definition: WindowLog.h:19
Set attribute Blink.
Definition: WindowLog.h:34
Set color Red.
Definition: WindowLog.h:17
Set default colors.
Definition: WindowLog.h:16
Set attribute Highlight.
Definition: WindowLog.h:31
Set attribute Normal.
Definition: WindowLog.h:30
Set attribute Underline.
Definition: WindowLog.h:32
Set color Magenta.
Definition: WindowLog.h:21
Set color Blue.
Definition: WindowLog.h:20
Set attribute Dim.
Definition: WindowLog.h:35
Set attribute Protect.
Definition: WindowLog.h:37
Reset all attributes.
Definition: WindowLog.h:29
Set attribute Bold.
Definition: WindowLog.h:36

+ Here is the caller graph for this function: