Header File

The header file may include additional information sdl_video.hrl

Exports

getSurface(Surface)

getPixelFormat(Surface)

getPalette(Surface)

getPixels(Surface, Size)

setVideoMode(W, H, Bpp, Type)

videoDriverName()

getVideoSurface()

videoModeOK(W, H, Bpp, Type)

listModes({formatp, Ref}, Flags)

displayFormat(Surface)

blitSurface(SSurf, SRect, DSurf, DRect)

fillRect(S, R, C)

updateRect(S, X, Y, W, H)

updateRects(S, R)

flip({surfacep, Ref})

setColors(S, Colors, FirstColor, Ncolors)

setColorKey(Surface, Flag, Key)

mapRGB(Surface, R, G, B)

createRGBsurface(Flags, W, H, D, RM, GM, BM, AM)

createRGBsurfaceFrom(Pixels, W, H, D, P, RM, GM, BM, AM)

freeSurface(Surface)

mustLock(Surface)

lockSurface(Surface)

unlockSurface(Surface)

loadBMP(File)

saveBMP(Surface, File)

setAlpha(Surface, Flag, Alpha)

setClipping(Surface, Top, Left, Botton, Right)

setGamma(Red,Green,Blue)

setGammaRamp(Red,Green,Blue)

getGammaRamp()

wm_setCaption(Title, IconTitle)

wm_getCaption()

wm_setIcon(Icon, Mask)

wm_iconifyWindow()

wm_toggleFullScreen(Surface)

wm_grabInput(GrabMode)

wm_getInfo()

wm_isMaximized()

wm_maximize()

wm_mac_file_dialog(Props)

gl_setAttribute(Attr, Val)

gl_getAttribute(Attr)

gl_swapBuffers()

mapRGBA(Surface, R, G, B, A)

getClipRect(Surface)

setClipRect(Surface, Rect)

displayFormatAlpha(Surface)