summaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorAleksander Nitecki <ixendr@itogi.re>2013-12-30 23:16:17 +0100
committerAleksander Nitecki <ixendr@itogi.re>2013-12-30 23:16:17 +0100
commit078136d2176e89e99505332d57c2297cfa5faad8 (patch)
tree84a1b7d4a07d24a5a42ff9275d1854ba7ba52dbd /image.h
parent99dfd14919f55742cbd311bd6032ce0f1dc361c5 (diff)
downloadnsxiv-078136d2176e89e99505332d57c2297cfa5faad8.tar.zst
Read GIF's repeat information from file.
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 04d48a3..9c3ced3 100644
--- a/image.h
+++ b/image.h
@@ -35,6 +35,8 @@ typedef struct {
int cnt;
int sel;
bool animate;
+ int anim_repeats; // -1=don't repeat, 0=repeat infinitely, N=repeat N times
+ unsigned int repeats_currently_left;
} multi_img_t;
typedef struct {