Mercurial > sdl-ios-xcode
diff include/SDL_compat.h @ 2266:e61ad15a205f
More work in progress integrating SDL_Surface and the new SDL_Texture API
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 18 Aug 2007 01:44:21 +0000 |
parents | 926294b2bb4e |
children | c785543d1843 |
line wrap: on
line diff
--- a/include/SDL_compat.h Fri Aug 17 06:58:20 2007 +0000 +++ b/include/SDL_compat.h Sat Aug 18 01:44:21 2007 +0000 @@ -37,6 +37,8 @@ #endif #define SDL_SWSURFACE 0x00000000 /* Not used */ +//#define SDL_SRCALPHA 0x00010000 +//#define SDL_SRCCOLORKEY 0x00020000 #define SDL_ANYFORMAT 0x00100000 #define SDL_HWPALETTE 0x00200000 #define SDL_DOUBLEBUF 0x00400000 @@ -146,6 +148,8 @@ extern DECLSPEC void SDLCALL SDL_UpdateRect(SDL_Surface * screen, Sint32 x, Sint32 y, Uint32 w, Uint32 h); extern DECLSPEC int SDLCALL SDL_Flip(SDL_Surface * screen); +extern DECLSPEC int SDLCALL SDL_SetAlpha(SDL_Surface * surface, Uint32 flag, + Uint8 alpha); extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormat(SDL_Surface * surface); extern DECLSPEC SDL_Surface *SDLCALL SDL_DisplayFormatAlpha(SDL_Surface * surface);