YAPETUI::color Struct Reference

Struct holding the color. More...

#include <colors.h>

List of all members.

Public Attributes

int attr
 The attribute.
short bg
 The background color.
short fg
 The foreground color.
short no
 The number of the pair.


Detailed Description

The purpose of this struct is to hold the color and the attribute for the given color. The attribute is used in case the terminal does not support colors.

Definition at line 88 of file colors.h.


Member Data Documentation

int YAPETUI::color::attr

The attribute used when no color is available.

Definition at line 112 of file colors.h.

short YAPETUI::color::bg

The background color of the pair.

Definition at line 106 of file colors.h.

short YAPETUI::color::fg

The foreground color of the color pair

Definition at line 100 of file colors.h.

short YAPETUI::color::no

The number of the pair as used by (n)curses.

Definition at line 94 of file colors.h.

Referenced by YAPETUI::Colors::getcolor().


The documentation for this struct was generated from the following file:
Generated on Wed Feb 27 16:15:42 2008 for YAPET by  doxygen 1.5.4