diff options
author | Bert <ber.t@gmx.com> | 2011-02-25 12:08:12 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-02-25 12:08:12 +0100 |
commit | dafe7eac742301952c088d68a455586b0225a7bd (patch) | |
tree | 3a457e0cbd21e274f05df47162504363941c7272 /image.h | |
parent | 62fb69b3287addfc5f28db1117b2e314b68e761c (diff) |
Refactored imlib context handling
Diffstat (limited to 'image.h')
-rw-r--r-- | image.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -19,6 +19,8 @@ #ifndef IMAGE_H #define IMAGE_H +#include <Imlib2.h> + #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*); |