Void setTransparency(SDLSurface surface, SDLColour rgba)
Arguments
surface: The surface to setrgb: The RGBA value of the transparent pixel. Generally A will be 255
Usage
Select a particular colour on the surface to be considered transparent when copying the surface.
setTransparency(pic,RGBA(0,255,0,255)); // green is transparent