Fixed scalemode enum
This commit is contained in:
		
							
								
								
									
										10
									
								
								image.h
									
									
									
									
									
								
							
							
						
						
									
										10
									
								
								image.h
									
									
									
									
									
								
							@@ -19,15 +19,15 @@
 | 
				
			|||||||
#ifndef IMAGE_H
 | 
					#ifndef IMAGE_H
 | 
				
			||||||
#define IMAGE_H
 | 
					#define IMAGE_H
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef enum {
 | 
					typedef enum scalemode_e {
 | 
				
			||||||
	SCALE_DOWN = 0;
 | 
						SCALE_DOWN = 0,
 | 
				
			||||||
	SCALE_FIT;
 | 
						SCALE_FIT,
 | 
				
			||||||
	SCALE_ZOOM;
 | 
						SCALE_ZOOM
 | 
				
			||||||
} scalemode_t;
 | 
					} scalemode_t;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct img_s {
 | 
					typedef struct img_s {
 | 
				
			||||||
	scalemode_t scalemode;
 | 
					 | 
				
			||||||
	int zoom;
 | 
						int zoom;
 | 
				
			||||||
 | 
						scalemode_t scalemode;
 | 
				
			||||||
	int w;
 | 
						int w;
 | 
				
			||||||
	int h;
 | 
						int h;
 | 
				
			||||||
	int x;
 | 
						int x;
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user