Ignore:
Timestamp:
09/27/08 15:12:46 (5 years ago)
Author:
sam
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/examples/hsv.c

    r2299 r2821  
    1919#endif 
    2020 
    21 #include "cucul.h" 
    2221#include "caca.h" 
    2322 
     
    2726{ 
    2827    caca_display_t *dp; 
    29     cucul_canvas_t *cv; 
     28    caca_canvas_t *cv; 
    3029 
    31     cucul_dither_t *dither; 
     30    caca_dither_t *dither; 
    3231    int x, y; 
    3332 
     
    4746    } 
    4847 
    49     dither = cucul_create_dither(32, 256, 256, 4 * 256, 
     48    dither = caca_create_dither(32, 256, 256, 4 * 256, 
    5049                                 0x00ff0000, 0x0000ff00, 0x000000ff, 0x0); 
    51     cucul_dither_bitmap(caca_get_canvas(dp), 0, 0, cucul_get_canvas_width(cv), 
    52                         cucul_get_canvas_height(cv), dither, buffer); 
    53     cucul_free_dither(dither); 
     50    caca_dither_bitmap(caca_get_canvas(dp), 0, 0, caca_get_canvas_width(cv), 
     51                        caca_get_canvas_height(cv), dither, buffer); 
     52    caca_free_dither(dither); 
    5453 
    5554    caca_refresh_display(dp); 
Note: See TracChangeset for help on using the changeset viewer.