Go to the source code of this file.
|
| | 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.
|
| int | init_pair (short pair, short fcol, short bcol) |
| | Initialise colour pair.
|
| int | pair_content (short pair, short *fcol, short *bcol) |
| | Get colours of colour pair.
|
◆ FILE_LICENCE()
| FILE_LICENCE |
( |
GPL2_OR_LATER_OR_UBDL | | ) |
|
◆ colour_content()
| int colour_content |
( |
short | colour, |
|
|
short * | red, |
|
|
short * | green, |
|
|
short * | blue ) |
Identify the RGB components of a given colour value.
- Parameters
-
| colour | colour value |
| *red | address to store red component |
| *green | address to store green component |
| *blue | address to store blue component |
- Return values
-
Definition at line 23 of file colour.c.
23 {
28}
#define colour
Colour for debug messages.
References colour, COLOUR_BLUE, COLOUR_GREEN, COLOUR_RED, and OK.
◆ init_pair()
| int init_pair |
( |
short | pair, |
|
|
short | fcol, |
|
|
short | bcol ) |
◆ pair_content()
| int pair_content |
( |
short | pair, |
|
|
short * | fcol, |
|
|
short * | bcol ) |
◆ cpairs