Ignore:
Timestamp:
Nov 25, 2007, 12:11:54 PM (13 years ago)
Author:
Sam Hocevar
Message:
  • Made the caca_event_t structure opaque and created a whole bunch of functions to access its real data. This is a big API change that will break your software, sorry :(
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/src/cacademo.c

    r1884 r2049  
    109109                                  | CACA_EVENT_QUIT, &ev, 0))
    110110        {
    111             if(ev.type == CACA_EVENT_QUIT)
     111            if(caca_get_event_type(&ev) == CACA_EVENT_QUIT)
    112112                goto end;
    113113
    114             switch(ev.data.key.ch)
     114            switch(caca_get_event_key_ch(&ev))
    115115            {
    116116                case CACA_KEY_ESCAPE:
Note: See TracChangeset for help on using the changeset viewer.