Ignore:
Timestamp:
Nov 25, 2007, 12:11:59 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • Adapt the C++ bindings to the event API change.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cxx/cxxtest.cpp

    r1462 r2050  
    4444    Cucul *qq, *pig;
    4545    Caca  *kk;
    46     Event ev;
    4746
    4847    int x = 0, y = 0, ix = 1, iy = 1;
     
    7776    kk->setDisplayTime(20000);
    7877
    79     while(!kk->getEvent(ev.CACA_EVENT_KEY_PRESS, &ev, 0)) {
     78    while(!kk->getEvent(Event::CACA_EVENT_KEY_PRESS, NULL, 0)) {
    8079
    8180
Note: See TracChangeset for help on using the changeset viewer.