diff options
author | Bert <ber.t@gmx.com> | 2011-01-20 15:39:08 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-20 15:39:08 +0100 |
commit | 00f32120a6c62069b66737a5265d9befa3ac59ac (patch) | |
tree | ddb349e961cc69f8ca14c0cabad6747a3c777341 /image.h | |
parent | 822ef72657b60902bd67e48fb339c1c6fc5e0e5a (diff) |
Handle expose events
Diffstat (limited to 'image.h')
-rw-r--r-- | image.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 */ |