diff options
author | Bert <ber.t@gmx.com> | 2011-01-18 17:20:41 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-18 17:20:41 +0100 |
commit | 2a2f0307c1e313dde979de2086d93971c57d342b (patch) | |
tree | 817cc6b6f61b993a64b75ea801c58a54db88665b /image.h | |
parent | 7121e7b468e133cda882c574bf1d6933c490ae94 (diff) | |
download | nsxiv-2a2f0307c1e313dde979de2086d93971c57d342b.tar.zst |
Basic image loading
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 */ |