diff options
author | Bert <ber.t@gmx.com> | 2011-01-17 16:41:22 +0100 |
---|---|---|
committer | Bert <ber.t@gmx.com> | 2011-01-17 16:41:22 +0100 |
commit | 6d4c6daea0e6c3af28ff9a42804178b588f4a8fa (patch) | |
tree | bba089ac6faab78470ccf3f9a1519722dade0c74 | |
parent | 01121cea86aa9890b20ba48c674b8085ee799b5c (diff) |
Fixed scalemode enum
-rw-r--r-- | image.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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; |