Ignore:
Timestamp:
Oct 31, 2006, 3:04:22 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of cucul_ansi_to_str(), it's really useless.
  • Partial update of the C++ bindings.
  • Updated documentation.
File:
1 edited

Legend:

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

    r1267 r1269  
    4141    {
    4242        cucul_set_color_ansi(cv, CUCUL_LIGHTGRAY, CUCUL_BLACK);
    43         cucul_printf(cv, 3, i + (i >= 8 ? 3 : 2), "'%cv': %i (%s)",
    44                      'a' + i, i, cucul_ansi_to_str(i));
     43        cucul_printf(cv, 3, i + (i >= 8 ? 3 : 2), "ANSI %i", i);
    4544        for(j = 0; j < 16; j++)
    4645        {
    4746            cucul_set_color_ansi(cv, i, j);
    48             cucul_putstr(cv, (j >= 8 ? 40 : 39) + j * 2, i + (i >= 8 ? 3 : 2),
    49                          "Aa");
     47            cucul_putstr(cv, (j >= 8 ? 13 : 12) + j * 4, i + (i >= 8 ? 3 : 2),
     48                         "Aa");
    5049        }
    5150    }
Note: See TracChangeset for help on using the changeset viewer.