Changeset 814 for libcaca/trunk/cpp


Ignore:
Timestamp:
Apr 18, 2006, 6:04:01 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Renamed cucul_clear() to cucul_clear_canvas() and added an argument to choose the background colour.
Location:
libcaca/trunk/cpp
Files:
2 edited

Legend:

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

    r813 r814  
    9090}
    9191
    92 void    Cucul::clear ()
    93 {
    94     cucul_clear(cv);
     92void    Cucul::clear ( unsigned char bg )
     93{
     94    cucul_clear_canvas(cv, bg);
    9595}
    9696
  • libcaca/trunk/cpp/cucul++.h

    r811 r814  
    6868    void putchar (int x, int y, char ch);
    6969    void putstr (int x, int y, char *str);
    70     void        clear ();
     70    void        clear (unsigned char bg);
    7171    void        blit ( int, int, Cucul* c1, Cucul* c2);
    7272    void        invert ();
Note: See TracChangeset for help on using the changeset viewer.