aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-20 15:39:08 +0100
committerBert <ber.t@gmx.com>2011-01-20 15:39:08 +0100
commit00f32120a6c62069b66737a5265d9befa3ac59ac (patch)
treeddb349e961cc69f8ca14c0cabad6747a3c777341 /image.h
parent822ef72657b60902bd67e48fb339c1c6fc5e0e5a (diff)
Handle expose events
Diffstat (limited to 'image.h')
-rw-r--r--image.h7
1 files changed, 4 insertions, 3 deletions
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 */