comparison include/SDL_compat.h @ 1683:396a35389351 SDL-1.3

Finished palettized display handling. Added support for surface palette sharing.
author Sam Lantinga <slouken@libsdl.org>
date Sat, 17 Jun 2006 06:45:14 +0000
parents 7ae8018b2e5d
children 931d111e737a
comparison
equal deleted inserted replaced
1682:7ae8018b2e5d 1683:396a35389351
146 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface); 146 extern DECLSPEC int SDLCALL SDL_WM_ToggleFullScreen(SDL_Surface * surface);
147 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode); 147 extern DECLSPEC SDL_GrabMode SDLCALL SDL_WM_GrabInput(SDL_GrabMode mode);
148 extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags, 148 extern DECLSPEC int SDLCALL SDL_SetPalette(SDL_Surface * surface, int flags,
149 const SDL_Color * colors, 149 const SDL_Color * colors,
150 int firstcolor, int ncolors); 150 int firstcolor, int ncolors);
151 extern DECLSPEC int SDLCALL SDL_SetScreenColors(SDL_Surface * screen, 151 extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
152 const SDL_Color * colors, 152 const SDL_Color * colors,
153 int firstcolor, int ncolors); 153 int firstcolor, int ncolors);
154 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo * info); 154 extern DECLSPEC int SDLCALL SDL_GetWMInfo(SDL_SysWMinfo * info);
155 extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void); 155 extern DECLSPEC Uint8 SDLCALL SDL_GetAppState(void);
156 extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y); 156 extern DECLSPEC void SDLCALL SDL_WarpMouse(Uint16 x, Uint16 y);
157 extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width, 157 extern DECLSPEC SDL_Overlay *SDLCALL SDL_CreateYUVOverlay(int width,
158 int height, 158 int height,