}
OUTPUT:
RETVAL
+=skip
SDL_Palette *
NewPalette ( number )
RETVAL->ncolors = number;
OUTPUT:
RETVAL
+=cut
int
PaletteNColors ( palette, ... )
Comment out for now as it does not compile
-SDL_Color *
-PaletteColors ( palette, index, ... )
- SDL_Palette *palette
- int index
- CODE:
- if ( items > 2 ) {
- palette->colors[index].r = SvUV(ST(2));
- palette->colors[index].g = SvUV(ST(3));
- palette->colors[index].b = SvUV(ST(4));
- }
- RETVAL = (SDL_Color *)(palette->colors + index);
- OUTPUT:
- RETVAL
-
-
-
int
VideoModeOK ( width, height, bpp, flags )
int width
#endif
-SDL_Overlay*
-CreateYUVOverlay ( width, height, format, display )
- int width
- int height
- Uint32 format
- SDL_Surface *display
- CODE:
- RETVAL = SDL_CreateYUVOverlay ( width, height, format, display );
- OUTPUT:
- RETVAL
-
int
LockYUVOverlay ( overlay )
SDL_Overlay *overlay
OUTPUT:
RETVAL
-void
-FreeYUVOverlay ( overlay )
- SDL_Overlay *overlay
- CODE:
- SDL_FreeYUVOverlay ( overlay );
-
Uint32
OverlayFormat ( overlay, ... )
SDL_Overlay *overlay