aboutsummaryrefslogtreecommitdiff
path: root/image.h
diff options
context:
space:
mode:
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 */