From 1e84773276ede56309a145dc08a4f3d47ad3a29f Mon Sep 17 00:00:00 2001 From: Bert Date: Fri, 2 Sep 2011 04:33:44 +0200 Subject: Data driven timeout handling --- types.h | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'types.h') diff --git a/types.h b/types.h index f19d693..bf8d4e2 100644 --- a/types.h +++ b/types.h @@ -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 */ -- cgit v1.2.3