From 2a2f0307c1e313dde979de2086d93971c57d342b Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 18 Jan 2011 17:20:41 +0100 Subject: Basic image loading --- image.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'image.h') diff --git a/image.h b/image.h index 2634fe1..78d4126 100644 --- a/image.h +++ b/image.h @@ -19,6 +19,8 @@ #ifndef IMAGE_H #define IMAGE_H +#include + #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 */ -- cgit v1.2.3