Ignore:
Timestamp:
Nov 27, 2003, 10:56:30 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • NOTES: + Added setab/setaf quotes from the XTerm terminfo. + Proposed a workaround for bright colours on any terminal.
  • src/caca.c: + 16 colour support for ncurses and conio.
  • src/graphics.c: + Ported to 16 colour support. + Added a missing <stdio.h> for BUFSIZ. + Disabled vsnprintf under DOS (only vsprintf exists).
  • examples/: + Don't abort if the caca.txt sprite was not found. + Ported to 16 colour support.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/caca.h

    r213 r226  
    151151 * Character graphics
    152152 */
    153 void caca_set_color(enum caca_color);
    154 enum caca_color caca_get_color(void);
     153void caca_set_color(enum caca_color, enum caca_color);
     154enum caca_color caca_get_fg_color(void);
     155enum caca_color caca_get_bg_color(void);
    155156void caca_putchar(int, int, char);
    156157void caca_putstr(int, int, const char *);
     
    203204struct caca_bitmap;
    204205struct caca_bitmap *caca_create_bitmap(int, int, int, int, int, int, int);
     206void caca_set_bitmap_palette(struct caca_bitmap *, int[], int[], int[]);
    205207void caca_draw_bitmap(int, int, int, int, struct caca_bitmap *, char *);
    206208void caca_free_bitmap(struct caca_bitmap *);
Note: See TracChangeset for help on using the changeset viewer.