Changeset 1002


Ignore:
Timestamp:
Jun 10, 2006, 1:35:18 PM (14 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Updated C++ bindings
Location:
libcaca/trunk/cxx
Files:
3 edited

Legend:

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

    r917 r1002  
    4646}
    4747
    48 void Caca::setDelay(unsigned int d)
     48void Caca::setDisplayTime(unsigned int d)
    4949{
    50     caca_set_delay(dp, d);
     50    caca_set_display_time(dp, d);
    5151}
    5252
     
    5656}
    5757
    58 unsigned int Caca::getRendertime()
     58unsigned int Caca::getDisplayTime()
    5959{
    60     return caca_get_rendertime(dp);
     60    return caca_get_display_time(dp);
    6161}
    6262
  • libcaca/trunk/cxx/caca++.h

    r917 r1002  
    5959    void Attach(Cucul *cv);
    6060    void Detach();
    61     void setDelay(unsigned int);
     61    void setDisplayTime(unsigned int);
     62
    6263    void Display();
    63     unsigned int getRendertime();
     64    unsigned int getDisplayTime();
    6465    unsigned int getWidth();
    6566    unsigned int getHeight();
  • libcaca/trunk/cxx/cpptest.cpp

    r899 r1002  
    6868    }
    6969
    70     kk->setDelay(20000);
     70    kk->setDisplayTime(20000);
    7171
    7272    while(!kk->getEvent(ev.CACA_EVENT_KEY_PRESS, &ev, 0)) {
Note: See TracChangeset for help on using the changeset viewer.