Go to the source code of this file.
Namespaces | |
namespace | libthrowable |
Classes | |
class | libthrowable::ColoredString |
Class for printing colored text to a terminal. More... | |
Variables | |
const unsigned | libthrowable::c_white = 0 |
White, sometimes grey without c_intensity. | |
const unsigned | libthrowable::c_black = 1 |
Black. | |
const unsigned | libthrowable::c_yellow = 2 |
Yellow, sometimes orange or brown without c_intensity. | |
const unsigned | libthrowable::c_red = 3 |
Red. | |
const unsigned | libthrowable::c_magenta = 4 |
Magenta. | |
const unsigned | libthrowable::c_blue = 5 |
Blue. | |
const unsigned | libthrowable::c_cyan = 6 |
Cyan. | |
const unsigned | libthrowable::c_green = 7 |
Green. | |
const unsigned | libthrowable::c_nochange = 8 |
Passing this value will preserve the previous color settings. | |
const unsigned | libthrowable::c_intensity = 128 |
Not a real color, but can be ORed together with another color to add intensity and/or make the text appear bold. |