comparison include/SDL_video.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 80a5e6a4e1e2
children 396a35389351
comparison
equal deleted inserted replaced
1681:80a5e6a4e1e2 1682:7ae8018b2e5d
1080 * will always return 1, and the palette is guaranteed to be set the way 1080 * will always return 1, and the palette is guaranteed to be set the way
1081 * you desire, even if the window colormap has to be warped or run under 1081 * you desire, even if the window colormap has to be warped or run under
1082 * emulation. 1082 * emulation.
1083 */ 1083 */
1084 extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface, 1084 extern DECLSPEC int SDLCALL SDL_SetColors(SDL_Surface * surface,
1085 SDL_Color * colors, int firstcolor, 1085 const SDL_Color * colors,
1086 int ncolors); 1086 int firstcolor, int ncolors);
1087 1087
1088 /* 1088 /*
1089 * Maps an RGB triple to an opaque pixel value for a given pixel format 1089 * Maps an RGB triple to an opaque pixel value for a given pixel format
1090 */ 1090 */
1091 extern DECLSPEC Uint32 SDLCALL SDL_MapRGB 1091 extern DECLSPEC Uint32 SDLCALL SDL_MapRGB