|
iPXE
|
#include <curses.h>Go to the source code of this file.
Data Structures | |
| struct | colour_pair |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| int | colour_content (short colour, short *red, short *green, short *blue) |
| Identify the RGB components of a given colour value. More... | |
| int | init_pair (short pair, short fcol, short bcol) |
| Initialise colour pair. More... | |
| int | pair_content (short pair, short *fcol, short *bcol) |
| Get colours of colour pair. More... | |
Variables | |
| static struct colour_pair | cpairs [COLOUR_PAIRS] |
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| int colour_content | ( | short | colour, |
| short * | red, | ||
| short * | green, | ||
| short * | blue | ||
| ) |
Identify the RGB components of a given colour value.
| colour | colour value |
| *red | address to store red component |
| *green | address to store green component |
| *blue | address to store blue component |
| rc | return status code |
Definition at line 23 of file colour.c.
References colour, COLOUR_BLUE, COLOUR_GREEN, COLOUR_RED, and OK.
| int init_pair | ( | short | pair, |
| short | fcol, | ||
| short | bcol | ||
| ) |
Initialise colour pair.
| pair | colour pair number |
| fcol | foreground colour |
| bcol | background colour |
Definition at line 37 of file colour.c.
References colour_pair::bcol, COLOUR_PAIRS, cpairs, ERR, colour_pair::fcol, and OK.
| int pair_content | ( | short | pair, |
| short * | fcol, | ||
| short * | bcol | ||
| ) |
Get colours of colour pair.
| pair | colour pair number |
| fcol | foreground colour |
| bcol | background colour |
Definition at line 56 of file colour.c.
References colour_pair::bcol, COLOUR_PAIRS, cpairs, ERR, colour_pair::fcol, and OK.
|
static |
Definition at line 10 of file colour.c.
Referenced by init_pair(), and pair_content().
1.8.15