Ignore:
Timestamp:
Oct 31, 2006, 3:04:22 PM (16 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/cxx/cucul++.cpp

    r1156 r1269  
    8888}
    8989
    90 void Cucul::setColor(unsigned int f, unsigned int b)
    91 {
    92     cucul_set_color(cv, f, b);
    93 }
    94 
    95 int  Cucul::setTruecolor(unsigned int f, unsigned int b)
    96 {
    97     return cucul_set_truecolor(cv, f, b);
    98 }
    99 
    100 char const * Cucul::getColorName(unsigned int color)
    101 {
    102     return cucul_get_color_name(color);
     90int Cucul::setColorANSI(unsigned char f, unsigned char b)
     91{
     92    return cucul_set_color_ansi(cv, f, b);
     93}
     94
     95int  Cucul::setColorARGB(unsigned int f, unsigned int b)
     96{
     97    return cucul_set_color_argb(cv, f, b);
    10398}
    10499
     
    236231}
    237232
    238 unsigned long int Cucul::getColor(int x, int y)
    239 {
    240     return cucul_get_color(cv, x, y);
     233int Cucul::setAttr(unsigned long int attr)
     234{
     235    return cucul_set_attr(cv, attr);
     236}
     237
     238unsigned long int Cucul::getAttr(int x, int y)
     239{
     240    return cucul_get_attr(cv, x, y);
    241241}
    242242
Note: See TracChangeset for help on using the changeset viewer.