aboutsummaryrefslogtreecommitdiffstats
path: root/readers.h
diff options
context:
space:
mode:
Diffstat (limited to 'readers.h')
-rw-r--r--readers.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/readers.h b/readers.h
index b54e5b6..1ad0e94 100644
--- a/readers.h
+++ b/readers.h
@@ -1,3 +1,4 @@
+#include <pixman.h>
#include "list.h"
enum ida_extype {
@@ -27,7 +28,7 @@ struct ida_image_info {
struct ida_image {
struct ida_image_info i;
- unsigned char *data;
+ pixman_image_t *p;
};
struct ida_rect {
int x1,y1,x2,y2;
@@ -86,6 +87,10 @@ struct ida_extra* load_find_extra(struct ida_image_info *info,
enum ida_extype type);
int load_free_extras(struct ida_image_info *info);
+void ida_image_alloc(struct ida_image *img);
+uint8_t *ida_image_scanline(struct ida_image *img, int y);
+void ida_image_free(struct ida_image *img);
+
/* ----------------------------------------------------------------------- */
/* other */