diff options
author | Bert <ber.t@gmx.com> | 2011-02-17 11:04:58 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-17 11:04:58 +0100 |
commit | bcc70bd7cbcdf56e84984929d9f8c6f1776f2204 (patch) | |
tree | 4318505a206a6440cceccbb14cc9f6703c92e8d5 /thumbs.h | |
parent | e0d08920657e8e5132a732c2f429243efa899ac1 (diff) | |
download | nsxiv-bcc70bd7cbcdf56e84984929d9f8c6f1776f2204.tar.zst |
Who needs threads to load thumbnails?
Diffstat (limited to 'thumbs.h')
-rw-r--r-- | thumbs.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 */ |