Public Attributes

YAPET::UI::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 105 of file colors.h.


Member Data Documentation

The attribute used when no color is available.

Definition at line 129 of file colors.h.

The background color of the pair.

Definition at line 123 of file colors.h.

The foreground color of the color pair

Definition at line 117 of file colors.h.

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

Definition at line 111 of file colors.h.

Referenced by YAPET::UI::Colors::getcolor(), and YAPET::UI::Colors::initColors().


The documentation for this struct was generated from the following file: