Changeset 1112 for toilet/trunk


Ignore:
Timestamp:
Sep 26, 2006, 11:51:13 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Fix libcucul font rendering. Now that the default canvas has a transparent background, we need to explicitely draw our temporary string in white on black.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • toilet/trunk/src/render.c

    r1102 r1112  
    3535
    3636    cv = cucul_create_canvas(length, 1);
     37    cucul_set_color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLACK);
    3738    for(x = 0; x < length; x++)
    3839        cucul_putchar(cv, x, 0, string[x]);
Note: See TracChangeset for help on using the changeset viewer.