Ignore:
Timestamp:
Oct 29, 2006, 9:35:46 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Remove cucul_set_color() from the exported API and replaced all calls with cucul_set_attr_ansi(). Old application will still compile (but issue a warning) and run, though.
File:
1 edited

Legend:

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

    r1048 r1256  
    103103
    104104
    105         cucul_set_color(cv, CUCUL_COLOR_LIGHTGRAY, CUCUL_COLOR_BLACK);
     105        cucul_set_attr_ansi(cv, CUCUL_COLOR_LIGHTGRAY, CUCUL_COLOR_BLACK, 0);
    106106        cucul_clear_canvas(cv);
    107107
     
    126126        xb = xa + 1 + cucul_get_sprite_width(sprite, frame);
    127127        yb = ya + 1 + cucul_get_sprite_height(sprite, frame);
    128         cucul_set_color(cv, CUCUL_COLOR_BLACK, CUCUL_COLOR_BLACK);
     128        cucul_set_attr_ansi(cv, CUCUL_COLOR_BLACK, CUCUL_COLOR_BLACK, 0);
    129129        cucul_fill_box(cv, 57 + xa, 10 + ya, 57 + xb, 10 + yb, " ");
    130         cucul_set_color(cv, CUCUL_COLOR_LIGHTGRAY, CUCUL_COLOR_BLACK);
     130        cucul_set_attr_ansi(cv, CUCUL_COLOR_LIGHTGRAY, CUCUL_COLOR_BLACK, 0);
    131131        cucul_draw_thin_box(cv, 57 + xa, 10 + ya, 57 + xb, 10 + yb);
    132132        cucul_draw_sprite(cv, 57, 10, sprite, frame);
Note: See TracChangeset for help on using the changeset viewer.