Ignore:
Timestamp:
Sep 18, 2006, 6:54:08 PM (14 years ago)
Author:
Sam Hocevar
Message:
  • Bring the tree back in sync with the new libcaca API.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ttyvaders/trunk/src/ceo.c

    r544 r1057  
    3434    while(!end)
    3535    {
    36         cucul_clear(g->qq);
     36        caca_event_t ev;
    3737
    38         if(caca_get_event(g->kk, CACA_EVENT_KEY_PRESS)
    39             == (CACA_EVENT_KEY_PRESS | '\t'))
     38        cucul_clear_canvas(g->cv);
     39
     40        if(caca_get_event(g->dp, CACA_EVENT_KEY_PRESS, &ev, 0)
     41            && ev.data.key.ch == '\t')
    4042        {
    4143            end = 1;
     
    4446        fprintf(stderr, "foo\n");
    4547
    46         caca_display(g->qq);
     48        caca_refresh_display(g->cv);
    4749
    4850        usleep(40000);
Note: See TracChangeset for help on using the changeset viewer.