nsxiv6d4c6da
Fixed scalemode enum
+5 −5
1 file changed
- M image.h +5 −5
| @@ -19,15 +19,15 @@ | |||
| 19 | 19 | #ifndef IMAGE_H | |
| 20 | 20 | #define IMAGE_H | |
| 21 | 21 | ||
| 22 | − | typedef enum { | |
| 23 | − | SCALE_DOWN = 0; | |
| 24 | − | SCALE_FIT; | |
| 25 | − | SCALE_ZOOM; | |
| 22 | + | typedef enum scalemode_e { | |
| 23 | + | SCALE_DOWN = 0, | |
| 24 | + | SCALE_FIT, | |
| 25 | + | SCALE_ZOOM | |
| 26 | 26 | } scalemode_t; | |
| 27 | 27 | ||
| 28 | 28 | typedef struct img_s { | |
| 29 | − | scalemode_t scalemode; | |
| 30 | 29 | int zoom; | |
| 30 | + | scalemode_t scalemode; | |
| 31 | 31 | int w; | |
| 32 | 32 | int h; | |
| 33 | 33 | int x; | |