comparison include/SDL_compat.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 82f357a91d43
children f65299ded39c
comparison
equal deleted inserted replaced
4927:d716dff4b13e 4929:aa8888658021
199 { 199 {
200 SDL_GRAB_QUERY = -1, 200 SDL_GRAB_QUERY = -1,
201 SDL_GRAB_OFF = 0, 201 SDL_GRAB_OFF = 0,
202 SDL_GRAB_ON = 1 202 SDL_GRAB_ON = 1
203 } SDL_GrabMode; 203 } SDL_GrabMode;
204
205 typedef enum
206 {
207 SDL_TEXTURESCALEMODE_NONE = SDL_SCALEMODE_NONE,
208 SDL_TEXTURESCALEMODE_FAST = SDL_SCALEMODE_FAST,
209 SDL_TEXTURESCALEMODE_SLOW = SDL_SCALEMODE_SLOW,
210 SDL_TEXTURESCALEMODE_BEST = SDL_SCALEMODE_BEST
211 } SDL_TextureScaleMode;
204 212
205 struct SDL_SysWMinfo; 213 struct SDL_SysWMinfo;
206 214
207 /** 215 /**
208 * \name Obsolete or renamed key codes 216 * \name Obsolete or renamed key codes