summaryrefslogtreecommitdiffstats
path: root/types.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-09-02 04:33:44 +0200
committerBert <ber.t@gmx.com>2011-09-02 04:33:44 +0200
commit1e84773276ede56309a145dc08a4f3d47ad3a29f (patch)
tree44dcbcaa8ae2248e089b74abadce86da1a547a6f /types.h
parent391e6e707968a8ee74e88b5e19ba90e799572c93 (diff)
downloadnsxiv-1e84773276ede56309a145dc08a4f3d47ad3a29f.tar.zst
Data driven timeout handling
Diffstat (limited to 'types.h')
-rw-r--r--types.h8
1 files changed, 5 insertions, 3 deletions
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 */