Ignore:
Timestamp:
Jan 9, 2004, 10:51:53 AM (17 years ago)
Author:
Sam Hocevar
Message:
  • test/event.c: + Do not refresh after each event, but only when there is no event

pending.

+ If the pressed key is a printable character, display it.

  • src/time.c: + Moved _caca_getticks() to this file.
  • src/caca.c: + Set the escape delay to a very low value in the ncurses driver,

because I don't want escape sequences to be entered manually.

  • src/io.c: + Autorepeat emulation in the ncurses and slang drivers: do not

immediately send the key release event.

  • configure.ac: + Check for usleep. + Improvements in the win32 platform detection.
File:
1 edited

Legend:

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

    r306 r331  
    4949};
    5050
     51/* Timer structure */
     52#define CACA_TIMER_INITIALIZER { 0, 0 }
     53struct caca_timer
     54{
     55    int last_sec, last_usec;
     56};
     57
    5158extern enum caca_driver _caca_driver;
    5259
     
    5663extern int _caca_init_bitmap(void);
    5764extern int _caca_end_bitmap(void);
     65
     66/* Timer functions */
     67extern unsigned int _caca_getticks(struct caca_timer *);
    5868
    5969/* Cached screen size */
Note: See TracChangeset for help on using the changeset viewer.