Ignore:
Timestamp:
Nov 12, 2006, 9:37:58 PM (17 years ago)
Author:
Sam Hocevar
Message:
  • Now that libcaca 0.99.beta10 is out, we can switch to the new API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/filter.c

    r1322 r1376  
    131131        for(x = 0; x < w; x++)
    132132    {
    133         unsigned long int ch = cucul_getchar(cx->torender, x, y);
     133        unsigned long int ch = cucul_get_char(cx->torender, x, y);
    134134        if(ch != (unsigned char)' ')
    135135        {
     
    167167        for(x = 0; x < w; x++)
    168168    {
    169         unsigned long int ch = cucul_getchar(cx->torender, x, y);
     169        unsigned long int ch = cucul_get_char(cx->torender, x, y);
    170170        int i;
    171171
     
    175175        i = ((cx->lines + y + x / 8) / 2) % 4;
    176176        cucul_set_color_ansi(cx->torender, palette[i], CUCUL_TRANSPARENT);
    177         cucul_putchar(cx->torender, x, y, ch);
     177        cucul_put_char(cx->torender, x, y, ch);
    178178    }
    179179}
     
    194194        for(x = 0; x < w; x++)
    195195    {
    196         unsigned long int ch = cucul_getchar(cx->torender, x, y);
     196        unsigned long int ch = cucul_get_char(cx->torender, x, y);
    197197        if(ch != (unsigned char)' ')
    198198        {
     
    200200                                 rainbow[(x / 2 + y + cx->lines) % 6],
    201201                                 CUCUL_TRANSPARENT);
    202             cucul_putchar(cx->torender, x, y, ch);
     202            cucul_put_char(cx->torender, x, y, ch);
    203203        }
    204204    }
Note: See TracChangeset for help on using the changeset viewer.