aboutsummaryrefslogtreecommitdiffstats
path: root/src/meh.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/meh.h')
-rw-r--r--src/meh.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/meh.h b/src/meh.h
index 7d62347..a17d730 100644
--- a/src/meh.h
+++ b/src/meh.h
@@ -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;
};