Changeset 814 for libcaca/trunk/src


Ignore:
Timestamp:
Apr 18, 2006, 6:04:01 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_clear() to cucul_clear_canvas() and added an argument to choose the background colour.
Location:
libcaca/trunk/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacaview.c

    r813 r814  
    322322        }
    323323
    324         cucul_clear(cv);
     324        cucul_clear_canvas(cv, CUCUL_COLOR_BLACK);
    325325
    326326        if(!items)
  • libcaca/trunk/src/img2irc.c

    r813 r814  
    5454
    5555    cucul_set_canvas_size(cv, cols, lines);
    56     cucul_clear(cv);
     56    cucul_clear_canvas(cv, CUCUL_COLOR_TRANSPARENT);
    5757    cucul_dither_bitmap(cv, 0, 0, cols - 1, lines - 1, i->dither, i->pixels);
    5858
Note: See TracChangeset for help on using the changeset viewer.