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/frames.c

    r1232 r1256  
    4949    {
    5050        cucul_set_canvas_frame(cv, frame);
    51         cucul_set_color(cv, CUCUL_COLOR_WHITE, frame);
     51        cucul_set_attr_ansi(cv, CUCUL_COLOR_WHITE, frame, 0);
    5252        cucul_fill_box(cv, 0, 0, 40, 15, ":");
    53         cucul_set_color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE);
     53        cucul_set_attr_ansi(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_BLUE, 0);
    5454        cucul_putstr(cv, frame * 5 / 2, frame, "カカ");
    5555    }
     
    6161            cucul_get_canvas_width(cv), cucul_get_canvas_height(cv));
    6262
    63     cucul_set_color(cv, CUCUL_COLOR_DEFAULT, CUCUL_COLOR_TRANSPARENT);
     63    cucul_set_attr_ansi(cv, CUCUL_COLOR_DEFAULT, CUCUL_COLOR_TRANSPARENT, 0);
    6464    dp = caca_create_display(cv);
    6565    caca_set_display_time(dp, 50000);
Note: See TracChangeset for help on using the changeset viewer.