Ignore:
Timestamp:
Oct 31, 2006, 2:29:48 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of cucul_ansi_to_attr() and cucul_argb_to_attr() and restored cucul_set_color() and cucul_set_truecolor() under the new names cucul_set_color_ansi() and cucul_set_color_argb().
  • Renamed cucul_get_color_name() into cucul_ansi_to_str().
File:
1 edited

Legend:

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

    r1257 r1267  
    4949    {
    5050        cucul_set_canvas_frame(cv, frame);
    51         cucul_set_attr(cv, cucul_ansi_to_attr(CUCUL_WHITE, frame));
     51        cucul_set_color_ansi(cv, CUCUL_WHITE, frame);
    5252        cucul_fill_box(cv, 0, 0, 40, 15, ":");
    53         cucul_set_attr(cv, cucul_ansi_to_attr(CUCUL_WHITE, CUCUL_BLUE));
     53        cucul_set_color_ansi(cv, CUCUL_WHITE, CUCUL_BLUE);
    5454        cucul_putstr(cv, frame * 5 / 2, frame, "カカ");
    5555    }
     
    6161            cucul_get_canvas_width(cv), cucul_get_canvas_height(cv));
    6262
    63     cucul_set_attr(cv, cucul_ansi_to_attr(CUCUL_DEFAULT, CUCUL_TRANSPARENT));
     63    cucul_set_color_ansi(cv, CUCUL_DEFAULT, CUCUL_TRANSPARENT);
    6464    dp = caca_create_display(cv);
    6565    caca_set_display_time(dp, 50000);
Note: See TracChangeset for help on using the changeset viewer.