caca_attr.3caca

Langue: en

Version: 163474 (fedora - 05/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

libcaca attribute definitions -

Defines


#define CACA_BLACK 0x00

#define CACA_BLUE 0x01

#define CACA_GREEN 0x02

#define CACA_CYAN 0x03

#define CACA_RED 0x04

#define CACA_MAGENTA 0x05

#define CACA_BROWN 0x06

#define CACA_LIGHTGRAY 0x07

#define CACA_DARKGRAY 0x08

#define CACA_LIGHTBLUE 0x09

#define CACA_LIGHTGREEN 0x0a

#define CACA_LIGHTCYAN 0x0b

#define CACA_LIGHTRED 0x0c

#define CACA_LIGHTMAGENTA 0x0d

#define CACA_YELLOW 0x0e

#define CACA_WHITE 0x0f

#define CACA_DEFAULT 0x10

#define CACA_TRANSPARENT 0x20

#define CACA_BOLD 0x01

#define CACA_ITALICS 0x02

#define CACA_UNDERLINE 0x04

#define CACA_BLINK 0x08

Detailed Description

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

Define Documentation

#define CACA_BLACK 0x00

The colour index for black.

Referenced by caca_attr_to_ansi(), caca_attr_to_argb64(), caca_attr_to_rgb12_bg(), and caca_dither_bitmap().

#define CACA_BLUE 0x01

The colour index for blue.

#define CACA_GREEN 0x02

The colour index for green.

#define CACA_CYAN 0x03

The colour index for cyan.

#define CACA_RED 0x04

The colour index for red.

#define CACA_MAGENTA 0x05

The colour index for magenta.

#define CACA_BROWN 0x06

The colour index for brown.

#define CACA_LIGHTGRAY 0x07

The colour index for light gray.

Referenced by caca_attr_to_ansi(), caca_attr_to_argb64(), and caca_attr_to_rgb12_fg().

#define CACA_DARKGRAY 0x08

The colour index for dark gray.

#define CACA_LIGHTBLUE 0x09

The colour index for blue.

#define CACA_LIGHTGREEN 0x0a

The colour index for light green.

#define CACA_LIGHTCYAN 0x0b

The colour index for light cyan.

#define CACA_LIGHTRED 0x0c

The colour index for light red.

#define CACA_LIGHTMAGENTA 0x0d

The colour index for light magenta.

#define CACA_YELLOW 0x0e

The colour index for yellow.

#define CACA_WHITE 0x0f

The colour index for white.

#define CACA_DEFAULT 0x10

The output driver's default colour.

Referenced by caca_attr_to_argb64(), caca_attr_to_rgb12_bg(), caca_attr_to_rgb12_fg(), and caca_create_canvas().

#define CACA_TRANSPARENT 0x20

The transparent colour.

Referenced by caca_attr_to_argb64(), caca_attr_to_rgb12_bg(), caca_attr_to_rgb12_fg(), and caca_create_canvas().

#define CACA_BOLD 0x01

The style mask for bold.

#define CACA_ITALICS 0x02

The style mask for italics.

#define CACA_UNDERLINE 0x04

The style mask for underline.

The style mask for blink.

Author

Generated automatically by Doxygen for libcaca from the source code.