Changeset 832 for libcaca/trunk/cpp


Ignore:
Timestamp:
Apr 21, 2006, 10:49:17 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Changed cucul_clear_canvas() again. It now uses the current foreground and background colours to clear the screen.
Location:
libcaca/trunk/cpp
Files:
2 edited

Legend:

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

    r827 r832  
    101101}
    102102
    103 void Cucul::clear(unsigned char bg )
    104 {
    105     cucul_clear_canvas(cv, bg);
     103void Cucul::clear(void)
     104{
     105    cucul_clear_canvas(cv);
    106106}
    107107
  • libcaca/trunk/cpp/cucul++.h

    r827 r832  
    7171    void putchar(int x, int y, char ch);
    7272    void putstr(int x, int y, char *str);
    73     void clear(unsigned char bg);
     73    void clear(void);
    7474    void blit(int, int, Cucul* c1, Cucul* c2);
    7575    void invert();
Note: See TracChangeset for help on using the changeset viewer.