summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-02-17 11:04:58 +0100
committerBert <ber.t@gmx.com>2011-02-17 11:04:58 +0100
commitbcc70bd7cbcdf56e84984929d9f8c6f1776f2204 (patch)
tree4318505a206a6440cceccbb14cc9f6703c92e8d5 /thumbs.h
parente0d08920657e8e5132a732c2f429243efa899ac1 (diff)
downloadnsxiv-bcc70bd7cbcdf56e84984929d9f8c6f1776f2204.tar.zst
Who needs threads to load thumbnails?
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h6
1 files changed, 3 insertions, 3 deletions
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 */