Ignore:
Timestamp:
Apr 18, 2006, 2:59:07 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_t into cucul_canvas_t. Eh ouais mon con.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/dithering.c

    r792 r810  
    3636{
    3737    caca_event_t ev;
    38     cucul_t *qq;
     38    cucul_canvas_t *c;
    3939    caca_t *kk;
    4040    int neara, dista, nearb, distb, dist;
    4141    int x, y;
    4242
    43     qq = cucul_create(0, 0);
    44     kk = caca_attach(qq);
     43    c = cucul_create(0, 0);
     44    kk = caca_attach(c);
    4545
    4646    for(x = 0; x < 100; x++)
     
    117117        else
    118118            ch = density[dista * 2 * 13 / (dista + distb)];
    119         cucul_set_color(qq, points[nearb], points[neara]);
     119        cucul_set_color(c, points[nearb], points[neara]);
    120120
    121         cucul_putchar(qq, x * cucul_get_width(qq) / 100,
    122                           (100 - y) * cucul_get_height(qq) / 100, ch);
     121        cucul_putchar(c, x * cucul_get_width(c) / 100,
     122                          (100 - y) * cucul_get_height(c) / 100, ch);
    123123    }
    124124
     
    128128
    129129    caca_detach(kk);
    130     cucul_free(qq);
     130    cucul_free(c);
    131131
    132132    return 0;
Note: See TracChangeset for help on using the changeset viewer.