Browse Source

Fixed scalemode enum

master
Bert 14 years ago
parent
commit
6d4c6daea0
1 changed files with 5 additions and 5 deletions
  1. +5
    -5
      image.h

+ 5
- 5
image.h View File

@@ -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;


Loading…
Cancel
Save