Ignore:
Timestamp:
Sep 27, 2008, 3:12:46 PM (11 years ago)
Author:
Sam Hocevar
Message:

Starting refactoring to get rid of libcucul. The initial reason for the
split is rendered moot by the plugin system: when enabled, binaries do
not link directly with libX11 or libGL. I hope this is a step towards
more consisteny and clarity.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/driver_raw.c

    r2305 r2821  
    2424#include <stdlib.h>
    2525
    26 #include "cucul.h"
    2726#include "caca.h"
    2827#include "caca_internals.h"
     
    3029static int raw_init_graphics(caca_display_t *dp)
    3130{
    32     int width = cucul_get_canvas_width(dp->cv);
    33     int height = cucul_get_canvas_height(dp->cv);
     31    int width = caca_get_canvas_width(dp->cv);
     32    int height = caca_get_canvas_height(dp->cv);
    3433    char const *geometry;
    3534
     
    4140
    4241    dp->resize.allow = 1;
    43     cucul_set_canvas_size(dp->cv, width ? width : 80, height ? height : 24);
     42    caca_set_canvas_size(dp->cv, width ? width : 80, height ? height : 24);
    4443    dp->resize.allow = 0;
    4544
     
    7271    size_t len;
    7372
    74     buffer = cucul_export_memory(dp->cv, "caca", &len);
     73    buffer = caca_export_memory(dp->cv, "caca", &len);
    7574    if(!buffer)
    7675        return;
Note: See TracChangeset for help on using the changeset viewer.