diff options
Diffstat (limited to 'image.h')
-rw-r--r-- | image.h | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -19,6 +19,8 @@ #ifndef IMAGE_H #define IMAGE_H +#include <Imlib2.h> + #include "window.h" typedef enum scalemode_e { @@ -34,8 +36,13 @@ typedef struct img_s { int h; int x; int y; + + Imlib_Image *im; } img_t; void imlib_init(win_t*); +void img_load(img_t*, char*); +void img_display(img_t*, win_t*); + #endif /* IMAGE_H */ |