Ignore:
Timestamp:
Nov 5, 2006, 7:06:09 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Implemented putChar() and updated getChar()'s prototype.
Location:
libcaca/trunk/cxx
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cucul++.cpp

    r1276 r1277  
    9898}
    9999
    100 void Cucul::putChar(int x, int y, char ch)
     100void Cucul::putChar(int x, int y, unsigned long int ch)
    101101{
    102102    cucul_putchar(cv, x, y, ch);
     103}
     104
     105unsigned long int Cucul::getChar(int x, int y)
     106{
     107    return cucul_getchar(cv, x, y);
    103108}
    104109
  • libcaca/trunk/cxx/cucul++.h

    r1269 r1277  
    126126    int setColorARGB(unsigned int f, unsigned int b);
    127127    void Printf(int x , int y , char const * format,...);
    128     void putChar(int x, int y, char ch);
     128    void putChar(int x, int y, unsigned long int ch);
    129129    unsigned long int getChar(cucul_canvas_t *, int, int);
    130130    void putStr(int x, int y, char *str);
Note: See TracChangeset for help on using the changeset viewer.