From 00f32120a6c62069b66737a5265d9befa3ac59ac Mon Sep 17 00:00:00 2001 From: Bert Date: Thu, 20 Jan 2011 15:39:08 +0100 Subject: Handle expose events --- image.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'image.h') diff --git a/image.h b/image.h index b719e7a..c3e3c10 100644 --- a/image.h +++ b/image.h @@ -30,16 +30,17 @@ typedef enum scalemode_e { typedef struct img_s { float zoom; scalemode_t scalemode; - int w; - int h; int x; int y; + int w; + int h; } img_t; void imlib_init(win_t*); void imlib_destroy(); void img_load(img_t*, const char*); -void img_render(img_t*, win_t*); +void img_display(img_t*, win_t*); +void img_render(img_t*, win_t*, int, int, int, int); #endif /* IMAGE_H */ -- cgit v1.2.3