Ignore:
Timestamp:
Apr 17, 2006, 3:23:28 PM (15 years ago)
Author:
Jean-Yves Lamoureux
Message:
  • Fixed compile problem, put Event outside Caca class
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/cpp/cpptest.cpp

    r785 r796  
    4444    Cucul *qq;
    4545    Caca  *kk;
    46     Caca::Event ev;
     46    Event ev;
     47
    4748    int x = 0, y = 0, ix = 1, iy = 1;
    4849
     
    6768    kk->set_delay(20000);
    6869
    69     while(!kk->get_event(CACA_EVENT_KEY_PRESS, &ev, 0)) {
     70    while(!kk->get_event(ev.CACA_EVENT_KEY_PRESS, &ev, 0)) {
    7071       
    7172        /* Draw pig */
Note: See TracChangeset for help on using the changeset viewer.