Changeset 1256 for libcaca/trunk/test/truecolor.c
- Timestamp:
- Oct 29, 2006, 9:35:46 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libcaca/trunk/test/truecolor.c
r1048 r1256 41 41 uint16_t fgcolor = 0xf000 | ((15 - y) << 4) | ((15 - x) << 8); 42 42 43 cucul_set_ truecolor(cv, fgcolor, bgcolor);43 cucul_set_attr_argb(cv, fgcolor, bgcolor, 0); 44 44 cucul_putstr(cv, x * 2, y, "CA"); 45 45 } 46 46 47 cucul_set_ color(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_LIGHTBLUE);47 cucul_set_attr_ansi(cv, CUCUL_COLOR_WHITE, CUCUL_COLOR_LIGHTBLUE, 0); 48 48 cucul_putstr(cv, 2, 1, " truecolor libcaca "); 49 49
Note: See TracChangeset
for help on using the changeset viewer.