cucul_attr3caca
Detailed Description
Colours and styles that can be used with cucul_set_attr().
Define Documentation
#define CUCUL_BLACK 0x00
The colour index for black.
Referenced by cucul_attr_to_ansi(), cucul_attr_to_argb64(), cucul_attr_to_rgb12_bg(), and cucul_dither_bitmap().
#define CUCUL_BLUE 0x01
The colour index for blue.
#define CUCUL_GREEN 0x02
The colour index for green.
#define CUCUL_CYAN 0x03
The colour index for cyan.
#define CUCUL_RED 0x04
The colour index for red.
#define CUCUL_MAGENTA 0x05
The colour index for magenta.
#define CUCUL_BROWN 0x06
The colour index for brown.
#define CUCUL_LIGHTGRAY 0x07
The colour index for light gray.
Referenced by cucul_attr_to_ansi(), cucul_attr_to_argb64(), and cucul_attr_to_rgb12_fg().
#define CUCUL_DARKGRAY 0x08
The colour index for dark gray.
#define CUCUL_LIGHTBLUE 0x09
The colour index for blue.
#define CUCUL_LIGHTGREEN 0x0a
The colour index for light green.
#define CUCUL_LIGHTCYAN 0x0b
The colour index for light cyan.
#define CUCUL_LIGHTRED 0x0c
The colour index for light red.
#define CUCUL_LIGHTMAGENTA 0x0d
The colour index for light magenta.
#define CUCUL_YELLOW 0x0e
The colour index for yellow.
#define CUCUL_WHITE 0x0f
The colour index for white.
#define CUCUL_DEFAULT 0x10
The output driver's default colour.
Referenced by cucul_attr_to_argb64(), cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg(), and cucul_create_canvas().
#define CUCUL_TRANSPARENT 0x20
The transparent colour.
Referenced by cucul_attr_to_argb64(), cucul_attr_to_rgb12_bg(), cucul_attr_to_rgb12_fg(), and cucul_create_canvas().
#define CUCUL_BOLD 0x01
The style mask for bold.
#define CUCUL_ITALICS 0x02
The style mask for italics.
#define CUCUL_UNDERLINE 0x04
The style mask for underline.
#define CUCUL_BLINK 0x08
The style mask for blink.