Data driven timeout handling

This commit is contained in:
Bert
2011-09-02 04:33:44 +02:00
parent 391e6e7079
commit 1e84773276
6 changed files with 137 additions and 100 deletions

View File

@ -33,9 +33,11 @@ typedef struct {
/* timeouts in milliseconds: */
enum {
TO_WIN_RESIZE = 75,
TO_CURSOR_HIDE = 1500,
TO_THUMBS_LOAD = 200
TO_REDRAW_RESIZE = 75,
TO_REDRAW_THUMBS = 200,
TO_CURSOR_HIDE = 1500
};
typedef void (*timeout_f)(void);
#endif /* TYPES_H */