Go to the source code of this file.
Namespaces | |
namespace | cwidget |
namespace | cwidget::config |
Functions | |
void | cwidget::config::init_colors () |
Set up the colors as we expect them to be. | |
int | cwidget::config::get_color_pair (short fg, short bg) |
int | cwidget::config::mix_color (short color, short fg, short bg) |
cwidget can only support colors on terminals that allow at least 64 color pairs to be defined. However, on those terminals, it can mix foreground and background colors independently of one another. Normally colors are accessed through the style system (see style.h).