summaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-31 15:51:26 +0100
committerBert <ber.t@gmx.com>2011-01-31 15:51:26 +0100
commit802c3448793fdfd8255931235c40084558f7f515 (patch)
tree107e1a1013a14c4ba6c21a77670fbb118e32b6aa /image.h
parent16cc96eff5d858fe99b561459b7bce90fb64eeed (diff)
downloadnsxiv-802c3448793fdfd8255931235c40084558f7f515.tar.zst
Check file timestamps before loading from cache
Diffstat (limited to 'image.h')
-rw-r--r--image.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/image.h b/image.h
index 450a739..0f8835d 100644
--- a/image.h
+++ b/image.h
@@ -49,7 +49,9 @@ typedef struct img_s {
void img_init(img_t*, win_t*);
void img_free(img_t*);
+int img_check(const char*);
int img_load(img_t*, const char*);
+
void img_render(img_t*, win_t*);
int img_fit(img_t*, win_t*);