Ignore:
Timestamp:
Oct 18, 2008 11:36:17 PM (6 years ago)
Author:
sam
Message:

Port toilet to the unified libcaca 0.99.beta15 API.

File:
1 edited

Legend:

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

    r1461 r2988  
    2323#endif 
    2424#include <stdlib.h> 
    25 #include <cucul.h> 
     25#include <caca.h> 
    2626 
    2727#include "toilet.h" 
     
    8181    } 
    8282 
    83     cucul_set_attr(cx->cv, attr); 
    84     cucul_set_canvas_size(cx->cv, cx->ew, cx->eh); 
     83    caca_set_attr(cx->cv, attr); 
     84    caca_set_canvas_size(cx->cv, cx->ew, cx->eh); 
    8585 
    86     cucul_put_char(cx->cv, cx->x, cx->y, ch); 
     86    caca_put_char(cx->cv, cx->x, cx->y, ch); 
    8787    cx->x++; 
    8888 
     
    9393{ 
    9494    cx->torender = cx->cv; 
    95     cucul_set_canvas_size(cx->torender, cx->w, cx->h); 
     95    caca_set_canvas_size(cx->torender, cx->w, cx->h); 
    9696 
    9797    cx->ew = 16; 
     
    9999    cx->x = cx->y = 0; 
    100100    cx->w = cx->h = 0; 
    101     cx->cv = cucul_create_canvas(cx->ew, cx->eh); 
     101    cx->cv = caca_create_canvas(cx->ew, cx->eh); 
    102102 
    103103    return 0; 
Note: See TracChangeset for help on using the changeset viewer.