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/graphics.c

    r2305 r2821  
    2525#endif
    2626
    27 #include "cucul.h"
    2827#include "caca.h"
    2928#include "caca_internals.h"
     
    242241    dp->drv.handle_resize(dp);
    243242
    244     /* Tell libcucul we changed size */
    245     if(dp->resize.w != cucul_get_canvas_width(dp->cv)
    246         || dp->resize.h != cucul_get_canvas_height(dp->cv))
     243    /* Tell libcaca we changed size */
     244    if(dp->resize.w != caca_get_canvas_width(dp->cv)
     245        || dp->resize.h != caca_get_canvas_height(dp->cv))
    247246    {
    248247        dp->resize.allow = 1;
    249         cucul_set_canvas_size(dp->cv, dp->resize.w, dp->resize.h);
     248        caca_set_canvas_size(dp->cv, dp->resize.w, dp->resize.h);
    250249        dp->resize.allow = 0;
    251250    }
Note: See TracChangeset for help on using the changeset viewer.