aboutsummaryrefslogtreecommitdiffstats
path: root/image.h
diff options
context:
space:
mode:
authorBert <ber.t@gmx.com>2011-01-18 17:20:41 +0100
committerBert <ber.t@gmx.com>2011-01-18 17:20:41 +0100
commit2a2f0307c1e313dde979de2086d93971c57d342b (patch)
tree817cc6b6f61b993a64b75ea801c58a54db88665b /image.h
parent7121e7b468e133cda882c574bf1d6933c490ae94 (diff)
downloadnsxiv-2a2f0307c1e313dde979de2086d93971c57d342b.tar.zst
Basic image loading
Diffstat (limited to 'image.h')
-rw-r--r--image.h7
1 files changed, 7 insertions, 0 deletions
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 <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 */