comparison include/SDL_compat.h @ 1682:7ae8018b2e5d SDL-1.3

Default palette entries to white, instead of black. More palettized video mode support...
author Sam Lantinga <slouken@libsdl.org>
date Fri, 16 Jun 2006 06:00:31 +0000
parents d33dcfc3fde7
children 396a35389351
comparison
equal deleted inserted replaced
1681:80a5e6a4e1e2 1682:7ae8018b2e5d
42 #define SDL_DOUBLEBUF 0x00400000 42 #define SDL_DOUBLEBUF 0x00400000
43 #define SDL_FULLSCREEN 0x00800000 43 #define SDL_FULLSCREEN 0x00800000
44 #define SDL_RESIZABLE 0x01000000 44 #define SDL_RESIZABLE 0x01000000
45 #define SDL_NOFRAME 0x02000000 45 #define SDL_NOFRAME 0x02000000
46 #define SDL_OPENGL 0x04000000 46 #define SDL_OPENGL 0x04000000
47 #define SDL_ASYNCBLIT 0x00000000 47 #define SDL_ASYNCBLIT 0x08000000 /* Not used */
48 #define SDL_HWACCEL 0x00000000 48 #define SDL_HWACCEL 0x08000000 /* Not used */
49 #define SDL_SCREEN_SURFACE 0x10000000 /* Surface is a window screen surface */ 49 #define SDL_SCREEN_SURFACE 0x10000000 /* Surface is a window screen surface */
50 #define SDL_SHADOW_SURFACE 0x20000000 /* Surface is a window shadow surface */ 50 #define SDL_SHADOW_SURFACE 0x20000000 /* Surface is a window shadow surface */
51 51
52 #define SDL_APPMOUSEFOCUS 0x01 52 #define SDL_APPMOUSEFOCUS 0x01
53 #define SDL_APPINPUTFOCUS 0x02 53 #define SDL_APPINPUTFOCUS 0x02
144 extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask); 144 extern DECLSPEC void SDLCALL SDL_WM_SetIcon(SDL_Surface * icon, Uint8 * mask);
145 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void); 145 extern DECLSPEC int SDLCALL SDL_WM_IconifyWindow(void);
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 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_SetScreenColors(SDL_Surface * screen,
152 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,