aboutsummaryrefslogtreecommitdiff
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-04-11 16:58:38 +0200
committerBert <ber.t@gmx.com>2011-04-11 16:58:38 +0200
commitd15264ea3213a56113952d16b042fd4fb249da6d (patch)
tree48a4dcc34ead720cdd34f2ac471a16f9478c89d6 /thumbs.h
parent5cb6d12a94a287817a3e0ea04fae40c1ff53618d (diff)
Remove invalid images when loading them; refactorings
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 4a8af09..a81287b 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -52,12 +52,12 @@ typedef struct {
unsigned char dirty;
} tns_t;
-void tns_clear_cache(tns_t*);
+void tns_clean_cache(tns_t*);
void tns_init(tns_t*, int);
-void tns_free(tns_t*, win_t*);
+void tns_free(tns_t*);
-void tns_load(tns_t*, win_t*, int, const char*);
+int tns_load(tns_t*, int, const char*, unsigned char);
void tns_render(tns_t*, win_t*);
void tns_highlight(tns_t*, win_t*, int, Bool);