From 497e3d5b470d091b7e109a7116313041cddc6c14 Mon Sep 17 00:00:00 2001
From: Harry Jeffery <harry@exec64.co.uk>
Date: Wed, 11 Nov 2015 09:58:23 +0000
Subject: Let imv_image track changes to itself

---
 image.h | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'image.h')

diff --git a/image.h b/image.h
index 4ae3c10..d36dab4 100644
--- a/image.h
+++ b/image.h
@@ -30,6 +30,7 @@ struct imv_image {
   int cur_frame;
   int next_frame;
   int num_frames;
+  int changed;
   double frame_time;
 };
 
@@ -43,4 +44,6 @@ void imv_image_load_next_frame(struct imv_image *img);
 int imv_image_is_animated(struct imv_image *img);
 void imv_image_play(struct imv_image *img, double time);
 
+int imv_image_has_changed(struct imv_image *img);
+
 #endif
-- 
cgit v1.2.3