From bcc70bd7cbcdf56e84984929d9f8c6f1776f2204 Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 17 Feb 2011 11:04:58 +0100 Subject: Who needs threads to load thumbnails? --- thumbs.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'thumbs.h') diff --git a/thumbs.h b/thumbs.h index bfc6573..170be27 100644 --- a/thumbs.h +++ b/thumbs.h @@ -27,12 +27,10 @@ typedef struct thumb_s { int w; int h; Pixmap pm; - unsigned char loaded; } thumb_t; typedef struct tns_s { thumb_t *thumbs; - unsigned char loaded; int cnt; int cols; int rows; @@ -42,9 +40,11 @@ typedef struct tns_s { extern const int thumb_dim; -void tns_load(tns_t*, win_t*, const char**, int); +void tns_init(tns_t*, int); void tns_free(tns_t*, win_t*); +void tns_load(tns_t*, win_t*, const char*); + void tns_render(tns_t*, win_t*); #endif /* THUMBS_H */ -- cgit v1.2.3-54-g00ecf