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

    r2305 r2821  
    2424#endif
    2525
    26 #include "cucul.h"
    2726#include "caca.h"
    2827#include "caca_internals.h"
     
    130129int caca_get_mouse_x(caca_display_t const *dp)
    131130{
    132     int width = cucul_get_canvas_width(dp->cv);
     131    int width = caca_get_canvas_width(dp->cv);
    133132
    134133    if(dp->mouse.x >= width)
     
    152151int caca_get_mouse_y(caca_display_t const *dp)
    153152{
    154     int height = cucul_get_canvas_height(dp->cv);
     153    int height = caca_get_canvas_height(dp->cv);
    155154
    156155    if(dp->mouse.y >= height)
     
    336335        _caca_handle_resize(dp);
    337336        ev->type = CACA_EVENT_RESIZE;
    338         ev->data.resize.w = cucul_get_canvas_width(dp->cv);
    339         ev->data.resize.h = cucul_get_canvas_height(dp->cv);
     337        ev->data.resize.w = caca_get_canvas_width(dp->cv);
     338        ev->data.resize.h = caca_get_canvas_height(dp->cv);
    340339        return 1;
    341340    }
Note: See TracChangeset for help on using the changeset viewer.