Ignore:
Timestamp:
Oct 18, 2008, 11:47:35 PM (12 years ago)
Author:
Sam Hocevar
Message:

Port neercs to the unified libcaca 0.99.beta15 API.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/main.c

    r2784 r2995  
    4343#endif
    4444#include <errno.h>
    45 #include <cucul.h>
     45#include <caca.h>
    4646#include <caca.h>
    4747
     
    136136            {
    137137                /* Create main canvas and associated caca window */
    138                 screen_list->cv = cucul_create_canvas(0, 0);
     138                screen_list->cv = caca_create_canvas(0, 0);
    139139                screen_list->dp = caca_create_display(screen_list->cv);
    140140                if(!screen_list->dp)
     
    218218            else if(!strncmp("REFRESH ", buf, 8))
    219219            {
    220                 cucul_import_memory(screen_list->cv, buf+8, n-8, "caca");
     220                caca_import_memory(screen_list->cv, buf+8, n-8, "caca");
    221221                caca_refresh_display(screen_list->dp);
    222222            }
     
    259259
    260260        if(screen_list->cv)
    261             cucul_free_canvas(screen_list->cv);
     261            caca_free_canvas(screen_list->cv);
    262262
    263263        for(i = 0; i < screen_list->count; i++)
Note: See TracChangeset for help on using the changeset viewer.