From dafe7eac742301952c088d68a455586b0225a7bd Mon Sep 17 00:00:00 2001 From: Bert Date: Fri, 25 Feb 2011 12:08:12 +0100 Subject: Refactored imlib context handling --- image.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'image.h') diff --git a/image.h b/image.h index fd5b0fe..8c6beec 100644 --- a/image.h +++ b/image.h @@ -19,6 +19,8 @@ #ifndef IMAGE_H #define IMAGE_H +#include + #include "window.h" typedef enum scalemode_e { @@ -35,10 +37,11 @@ typedef enum pandir_e { } pandir_t; typedef struct img_s { + Imlib_Image *im; + float zoom; scalemode_t scalemode; - unsigned char valid; unsigned char re; unsigned char checkpan; unsigned char aa; @@ -54,6 +57,7 @@ void img_free(img_t*); int img_check(const char*); int img_load(img_t*, const char*); +void img_close(img_t*); void img_render(img_t*, win_t*); -- cgit v1.2.3