Struct holding the color. More...
#include <colors.h>
Public Attributes | |
| int | attr |
| The attribute. | |
| short | bg |
| The background color. | |
| short | fg |
| The foreground color. | |
| short | no |
| The number of the pair. | |
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.
| short YAPET::UI::color::bg |
| short YAPET::UI::color::fg |
| short YAPET::UI::color::no |
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().
1.7.1