Penguin
Diff: SDL_SetPalette(3)
EditPageHistoryDiffInfoLikePages

Differences between current version and predecessor to the previous major change of SDL_SetPalette(3).

Other diffs: Previous Revision, Previous Author, or view the Annotated Edit History

Newer page: version 2 Last edited on Monday, June 3, 2002 6:53:49 pm by perry
Older page: version 1 Last edited on Monday, June 3, 2002 6:53:49 pm by perry Revert
@@ -1,6 +1,6 @@
-SDL_SetPalette  
-!!!SDL_SetPalette 
+SDL_! SetPalette  
+!!!SDL_! SetPalette 
 NAME 
 SYNOPSIS 
 DESCRIPTION 
 RETURN VALUE 
@@ -9,16 +9,16 @@
 ---- 
 !!NAME 
  
  
-SDL_SetPalette- Sets the colors in the palette of an 8-bit surface. 
+SDL_! SetPalette- Sets the colors in the palette of an 8-bit surface. 
 !!SYNOPSIS 
  
  
 __#include __ 
  
  
-__int SDL_SetPalette__(__SDL_Surface *surface, int 
+__int SDL_! SetPalette__(__SDL_Surface *surface, int 
 flags, int SDL_Color *colors, int firstcolor, int 
 ncolors__); 
 !!DESCRIPTION 
  
@@ -30,9 +30,9 @@
 Palettized (8-bit) screen surfaces with the 
 __SDL_HWPALETTE__ flag have two palettes, a logical 
 palette that is used for mapping blits to/from the surface 
 and a physical palette (that determines how the hardware 
-will map the colors to the display). ''SDL_BlitSurface'' 
+will map the colors to the display). ''SDL_! BlitSurface'' 
 always uses the logical palette when blitting surfaces (if 
 it has to convert between surface pixel formats). Because of 
 this, it is often useful to modify only one or the other 
 palette to achieve various special color effects (e.g., 
@@ -47,9 +47,9 @@
  
 When __surface__ is the surface associated with the 
 current display, the display colormap will be updated with 
 the requested colors. If __SDL_HWPALETTE__ was set in 
-''SDL_SetVideoMode'' flags, __SDL_SetPalette__ will 
+''SDL_! SetVideoMode'' flags, __SDL_! SetPalette__ will 
 always return __1__, and the palette is guaranteed to be 
 set the way you desire, even if the window colormap has to 
 be warped or run under emulation. 
  
@@ -61,9 +61,9 @@
  
  
 If __surface__ is not a palettized surface, this function 
 does nothing, returning __0__. If all of the colors were 
-set as passed to __SDL_SetPalette__, it will return 
+set as passed to __SDL_! SetPalette__, it will return 
 __1__. If not all the color entries were set exactly as 
 given, it will return __0__, and you should look at the 
 surface palette to determine the actual color 
 palette. 
@@ -81,7 +81,7 @@
 for(i=0;i 
 !!SEE ALSO 
  
  
-''SDL_SetColors'', ''SDL_SetVideoMode'', 
+''SDL_! SetColors'', ''SDL_! SetVideoMode'', 
 ''SDL_Surface'', ''SDL_Color'' 
 ---- 
This page is a man page (or other imported legacy content). We are unable to automatically determine the license status of this page.