summaryrefslogtreecommitdiffstats
path: root/thumbs.h
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2014-08-16 11:37:49 +0200
committerBert Münnich <ber.t@posteo.de>2014-08-16 21:48:52 +0200
commit61f61cae5fdf5aa51975bd587497b830684b7867 (patch)
treeda24dcfde194370113d811a1d3e779c11d781b10 /thumbs.h
parent3b8a79fb8bcde81966514d6a8af18f9db015b3df (diff)
downloadnsxiv-61f61cae5fdf5aa51975bd587497b830684b7867.tar.zst
Generalized thumbnail loading, allows easier reloading of thumbnails later on
Diffstat (limited to 'thumbs.h')
-rw-r--r--thumbs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/thumbs.h b/thumbs.h
index e11ac3c..4de80c3 100644
--- a/thumbs.h
+++ b/thumbs.h
@@ -32,12 +32,14 @@ typedef struct {
int h;
int x;
int y;
+ bool loaded;
} thumb_t;
typedef struct {
thumb_t *thumbs;
int cap;
int cnt;
+ int loadnext;
int first;
int sel;