Mercurial > sdl-ios-xcode
comparison src/video/SDL_sysvideo.h @ 4929:aa8888658021
Use the enumerated type for blend and scale mode instead of int
Renamed SDL_TextureScaleMode to SDL_ScaleMode
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 12 Dec 2010 15:19:05 -0800 |
parents | 7b1d35d98294 |
children | 1cee937d9fcc |
comparison
equal
deleted
inserted
replaced
4927:d716dff4b13e | 4929:aa8888658021 |
---|---|
44 Uint32 format; /**< The pixel format of the texture */ | 44 Uint32 format; /**< The pixel format of the texture */ |
45 int access; /**< SDL_TextureAccess */ | 45 int access; /**< SDL_TextureAccess */ |
46 int w; /**< The width of the texture */ | 46 int w; /**< The width of the texture */ |
47 int h; /**< The height of the texture */ | 47 int h; /**< The height of the texture */ |
48 int modMode; /**< The texture modulation mode */ | 48 int modMode; /**< The texture modulation mode */ |
49 int blendMode; /**< The texture blend mode */ | 49 SDL_BlendMode blendMode; /**< The texture blend mode */ |
50 int scaleMode; /**< The texture scale mode */ | 50 SDL_ScaleMode scaleMode; /**< The texture scale mode */ |
51 Uint8 r, g, b, a; /**< Texture modulation values */ | 51 Uint8 r, g, b, a; /**< Texture modulation values */ |
52 | 52 |
53 SDL_Renderer *renderer; | 53 SDL_Renderer *renderer; |
54 | 54 |
55 void *driverdata; /**< Driver specific texture representation */ | 55 void *driverdata; /**< Driver specific texture representation */ |
119 | 119 |
120 /* The list of textures */ | 120 /* The list of textures */ |
121 SDL_Texture *textures; | 121 SDL_Texture *textures; |
122 | 122 |
123 Uint8 r, g, b, a; /**< Color for drawing operations values */ | 123 Uint8 r, g, b, a; /**< Color for drawing operations values */ |
124 int blendMode; /**< The drawing blend mode */ | 124 SDL_BlendMode blendMode; /**< The drawing blend mode */ |
125 | 125 |
126 void *driverdata; | 126 void *driverdata; |
127 }; | 127 }; |
128 | 128 |
129 /* Define the SDL render driver structure */ | 129 /* Define the SDL render driver structure */ |