diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2009-02-17 00:30:07 -0800 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2009-02-17 00:30:07 -0800 |
commit | a55738cf6d32e1d18a3c793df3c6c2797c25ebfa (patch) | |
tree | 19d87e4038c462c0786de9eff91dcddd8ada2003 /src/meh.h | |
parent | 7ef59ee989938c85e9cd3890c70e83309c9bf442 (diff) | |
download | mirror-meh-a55738cf6d32e1d18a3c793df3c6c2797c25ebfa.tar.gz mirror-meh-a55738cf6d32e1d18a3c793df3c6c2797c25ebfa.tar.bz2 mirror-meh-a55738cf6d32e1d18a3c793df3c6c2797c25ebfa.zip |
load jpegs scaled 1/8 first
Diffstat (limited to 'src/meh.h')
-rw-r--r-- | src/meh.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,6 +7,7 @@ struct image; struct imageformat{ struct image *(*open)(FILE *); + void (*prep)(struct image *); int (*read)(struct image *); void (*close)(struct image *); }; @@ -30,11 +31,10 @@ struct image{ XImage *ximg; }; -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, unsigned int width, unsigned int height); +XImage *getimage(struct image *img, unsigned int width, unsigned int height, int fast); #ifdef TDEBUG #define TDEBUG_START \ |