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

    r1048 r1256  
    4141        uint16_t fgcolor = 0xf000 | ((15 - y) << 4) | ((15 - x) << 8);
    4242
    43         cucul_set_truecolor(cv, fgcolor, bgcolor);
     43        cucul_set_attr_argb(cv, fgcolor, bgcolor, 0);
    4444        cucul_putstr(cv, x * 2, y, "CA");
    4545    }
    4646
    47     cucul_set_color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_LIGHTBLUE);
     47    cucul_set_attr_ansi(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_LIGHTBLUE, 0);
    4848    cucul_putstr(cv, 2, 1, " truecolor libcaca ");
    4949
Note: See TracChangeset for help on using the changeset viewer.