aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--image.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/image.h b/image.h
index 4edb794..e542c22 100644
--- a/image.h
+++ b/image.h
@@ -19,15 +19,15 @@
#ifndef IMAGE_H
#define IMAGE_H
-typedef enum {
- SCALE_DOWN = 0;
- SCALE_FIT;
- SCALE_ZOOM;
+typedef enum scalemode_e {
+ SCALE_DOWN = 0,
+ SCALE_FIT,
+ SCALE_ZOOM
} scalemode_t;
typedef struct img_s {
- scalemode_t scalemode;
int zoom;
+ scalemode_t scalemode;
int w;
int h;
int x;