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