Ignore:
Timestamp:
Jan 5, 2004, 7:17:20 PM (19 years ago)
Author:
Sam Hocevar
Message:
  • src/io.c: + caca_get_event() and caca_wait_event() now accept a mask as an argument

in order to select events.

Location:
libcaca/trunk/test
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/test/dithering.c

    r297 r316  
    129129    caca_refresh();
    130130
    131     while((caca_get_event() & 0xff000000) != CACA_EVENT_KEY_PRESS);
     131    while(!caca_get_event(CACA_EVENT_KEY_PRESS));
    132132
    133133    caca_end();
  • libcaca/trunk/test/hsv.c

    r307 r316  
    5757    caca_refresh();
    5858
    59     while((caca_get_event() & 0xff000000) != CACA_EVENT_KEY_PRESS);
     59    while(!caca_get_event(CACA_EVENT_KEY_PRESS));
    6060
    6161    caca_end();
Note: See TracChangeset for help on using the changeset viewer.