diff options
author | John Hawthorn <jhawthor@uvic.ca> | 2009-02-16 23:35:05 -0800 |
---|---|---|
committer | John Hawthorn <jhawthor@uvic.ca> | 2009-02-16 23:35:05 -0800 |
commit | 7ef59ee989938c85e9cd3890c70e83309c9bf442 (patch) | |
tree | 9798ab712eac81967d61f55fe5eb198a4e1dd1d0 /src/meh.h | |
parent | 23b19c4213dfb780f1a2a1ca3ea05b34aed2dbc1 (diff) | |
download | mirror-meh-7ef59ee989938c85e9cd3890c70e83309c9bf442.tar.gz mirror-meh-7ef59ee989938c85e9cd3890c70e83309c9bf442.tar.bz2 mirror-meh-7ef59ee989938c85e9cd3890c70e83309c9bf442.zip |
switched to using state to keep track of image
Diffstat (limited to 'src/meh.h')
-rw-r--r-- | src/meh.h | 18 |
1 files changed, 9 insertions, 9 deletions
@@ -13,20 +13,20 @@ struct imageformat{ typedef enum{ NONE, - IMG, - ALLOC, - LINEAR, - LINEARDRAWN, - BILINEAR, - BILINEARDRAWN, -} drawstate; + FASTLOADED, + FASTSCALED, + FASTDRAWN, + LOADED, + SCALED, + DRAWN, + NOOP +} imgstate; struct image{ unsigned char *buf; unsigned int bufwidth, bufheight; struct imageformat *fmt; - int redraw; - drawstate state; + imgstate state; XImage *ximg; }; |