1 #ifndef _IPXE_ANSICOL_H 2 #define _IPXE_ANSICOL_H 17 #define COLOUR_DEFAULT 9 18 #define COLOR_DEFAULT COLOUR_DEFAULT 27 #define ANSICOL_MAGIC 15 30 #define ANSICOL_NO_RGB 0x01000000 38 #define CPAIR_DEFAULT 0 41 #define CPAIR_NORMAL 1 44 #define CPAIR_SELECT 2 47 #define CPAIR_SEPARATOR 3 74 unsigned int background );
void ansicol_reset_magic(void)
Reset magic colour.
uint8_t foreground
Foreground colour index.
int ansicol_define(unsigned int colour, unsigned int ansi, uint32_t rgb)
Define ANSI colour.
void ansicol_set(unsigned int colour, unsigned int which)
Set ANSI colour (when no colour definition support is present)
An ANSI colour pair definition.
FILE_LICENCE(GPL2_OR_LATER_OR_UBDL)
#define colour
Colour for debug messages.
void ansicol_set_pair(unsigned int cpair)
Set ANSI foreground and background colour.
int ansicol_define_pair(unsigned int cpair, unsigned int foreground, unsigned int background)
Define ANSI colour pair.
void ansicol_set_magic_transparent(void)
Set magic colour to transparent.
uint8_t background
Background colour index.