Ignore:
Timestamp:
Mar 7, 2006, 11:37:59 AM (14 years ago)
Author:
Sam Hocevar
Message:
  • Got rid of static variables in the event code.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • libcaca/trunk/caca/caca_internals.h

    r540 r541  
    4646#endif
    4747
     48#if !defined(_DOXYGEN_SKIP_ME)
     49#   define EVENTBUF_LEN 10
     50#endif
     51
    4852/* Graphics driver */
    4953enum caca_driver
     
    114118    } driver;
    115119
    116     unsigned int width, height;
     120    //unsigned int width, height;
     121    unsigned int mouse_x, mouse_y;
    117122
    118123    int resize;
     
    125130    struct events
    126131    {
     132#if defined(USE_SLANG) || defined(USE_NCURSES) || defined(USE_CONIO)
     133        unsigned int buf[EVENTBUF_LEN];
     134        int queue;
     135#endif
    127136#if defined(USE_SLANG) || defined(USE_NCURSES)
    128137        struct caca_timer key_timer;
Note: See TracChangeset for help on using the changeset viewer.