示例#1
0
 public static extern int SDL_SetPixelFormatPalette(
     PixelFormat format,
     Palette palette
     );
示例#2
0
 public static extern int SDL_SetPaletteColors(
     Palette palette,
     /*const*/ Color *colors,
     int firstcolor,
     int ncolors
     );
示例#3
0
 public void SetPalette(Palette palette)
 {
     ErrorIfNegative(SDL_SetPixelFormatPalette(this, palette));
 }