libcucul attribute definitions


Defines

#define CUCUL_BLACK   0x00
#define CUCUL_BLUE   0x01
#define CUCUL_GREEN   0x02
#define CUCUL_CYAN   0x03
#define CUCUL_RED   0x04
#define CUCUL_MAGENTA   0x05
#define CUCUL_BROWN   0x06
#define CUCUL_LIGHTGRAY   0x07
#define CUCUL_DARKGRAY   0x08
#define CUCUL_LIGHTBLUE   0x09
#define CUCUL_LIGHTGREEN   0x0a
#define CUCUL_LIGHTCYAN   0x0b
#define CUCUL_LIGHTRED   0x0c
#define CUCUL_LIGHTMAGENTA   0x0d
#define CUCUL_YELLOW   0x0e
#define CUCUL_WHITE   0x0f
#define CUCUL_DEFAULT   0x10
#define CUCUL_TRANSPARENT   0x20
#define CUCUL_BOLD   0x01
#define CUCUL_ITALICS   0x02
#define CUCUL_UNDERLINE   0x04
#define CUCUL_BLINK   0x08

Detailed Description

Colours and styles that can be used with cucul_set_attr().

Define Documentation

#define CUCUL_BLACK   0x00

#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

#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.