diff options
Diffstat (limited to 'src/meh.h')
-rw-r--r-- | src/meh.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -6,12 +6,12 @@ struct image; struct imageformat{ struct image *(*open)(FILE *); int (*read)(struct image *); + void (*close)(struct image *); }; struct image{ unsigned char *buf; unsigned int width, height; - FILE *f; struct imageformat *fmt; }; @@ -21,5 +21,5 @@ XImage *ximage(struct image *img, unsigned int width, unsigned int height); void setaspect(unsigned int w, unsigned int h); void xinit(); void drawimage(XImage *ximg, unsigned int width, unsigned int height); -XImage *getimage(struct image *img, int width, int height); +XImage *getimage(struct image *img, unsigned int width, unsigned int height); |