Colour in the ncurses palette. More...
#include "curses2.h"
Public Member Functions | |
| TAILQ_ENTRY (CursesColor) entries | |
| Linked list. | |
Data Fields | |
| color_t | fg |
| Foreground colour. | |
| color_t | bg |
| Background colour. | |
| short | index |
| Index number. | |
| short | ref_count |
| Number of users. | |
Colour in the ncurses palette.
Curses stores colours as a foreground/background pair. There can be up to COLOR_PAIRS (65535) of these pairs. To use a colour, it must be initialised using init_pair().
| CursesColor::TAILQ_ENTRY | ( | CursesColor | ) |
Linked list.