Functions
libcaca attribute conversions

Functions

__extern uint32_t caca_get_attr (caca_canvas_t const *, int, int)
 Get the text attribute at the given coordinates. More...
 
__extern int caca_set_attr (caca_canvas_t *, uint32_t)
 Set the default character attribute. More...
 
__extern int caca_unset_attr (caca_canvas_t *, uint32_t)
 Unset flags in the default character attribute. More...
 
__extern int caca_toggle_attr (caca_canvas_t *, uint32_t)
 Toggle flags in the default character attribute. More...
 
__extern int caca_put_attr (caca_canvas_t *, int, int, uint32_t)
 Set the character attribute at the given coordinates. More...
 
__extern int caca_set_color_ansi (caca_canvas_t *, uint8_t, uint8_t)
 Set the default colour pair for text (ANSI version). More...
 
__extern int caca_set_color_argb (caca_canvas_t *, uint16_t, uint16_t)
 Set the default colour pair for text (truecolor version). More...
 
__extern uint8_t caca_attr_to_ansi