1 #ifndef _IPXE_ANSICOL_H 2 #define _IPXE_ANSICOL_H 16 #define COLOUR_DEFAULT 9 17 #define COLOR_DEFAULT COLOUR_DEFAULT 26 #define ANSICOL_MAGIC 15 29 #define ANSICOL_NO_RGB 0x01000000 37 #define CPAIR_DEFAULT 0 40 #define CPAIR_NORMAL 1 43 #define CPAIR_SELECT 2 46 #define CPAIR_SEPARATOR 3 73 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.