Ignore:
Timestamp:
Nov 25, 2007, 12:11:54 PM (12 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/test/input.c

    r1837 r2049  
    9696            continue;
    9797
    98         switch(ev.data.key.ch)
     98        switch(caca_get_event_key_ch(&ev))
    9999        {
    100100            case CACA_KEY_ESCAPE:
     
    144144                            entries[e].buffer + entries[e].cursor,
    145145                            (entries[e].size - entries[e].cursor) * 4);
    146                     entries[e].buffer[entries[e].cursor] = ev.data.key.utf32;
     146                    entries[e].buffer[entries[e].cursor] =
     147                                              caca_get_event_key_utf32(&ev);
    147148                    entries[e].size++;
    148149                    entries[e].cursor++;
Note: See TracChangeset for help on using the changeset viewer.