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/caca/caca0.h

    r1257 r1267  
    131131
    132132#define caca_set_color(x, y) \
    133     (__caca0_fg = (x), __caca0_bg = (y), \
    134      cucul_set_attr(__caca0_cv, cucul_ansi_to_attr(x, y)))
     133    (__caca0_fg = (x), __caca0_bg = (y), cucul_set_color_ansi(__caca0_cv, x, y))
    135134#define caca_get_fg_color() __caca0_fg
    136135#define caca_get_bg_color() __caca0_bg
    137 #define caca_get_color_name cucul_get_color_name
     136#define caca_get_color_name cucul_ansi_to_str
    138137#define caca_putchar(x, y, c) cucul_putchar(__caca0_cv, x, y, c)
    139138#define caca_putstr(x, y, s) cucul_putstr(__caca0_cv, x, y, s)
Note: See TracChangeset for help on using the changeset viewer.