colors.h File Reference

Routines to support independently changing foreground and background colors. More...

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)


Detailed Description

Routines to support independently changing foreground and background colors.

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).


Generated on Sat Jun 12 14:51:02 2010 for cwidget by  doxygen 1.5.6