aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
Diffstat (limited to 'image.h')
-rw-r--r--image.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/image.h b/image.h
index 0dbde1e..37db7c8 100644
--- a/image.h
+++ b/image.h
@@ -25,7 +25,15 @@
#include "window.h"
typedef struct {
+ int cap;
+ int cnt;
+ int cur;
+ Imlib_Image **frames;
+} multi_img_t;
+
+typedef struct {
Imlib_Image *im;
+ multi_img_t multi;
float zoom;
scalemode_t scalemode;
@@ -48,6 +56,8 @@ void img_close(img_t*, int);
void img_render(img_t*, win_t*);
+int img_change_frame(img_t*, int);
+
int img_fit_win(img_t*, win_t*);
int img_center(img_t*, win_t*);