Copyright | (c) David Himmelstrup 2005 |
---|---|
License | BSD-like |
Maintainer | lemmih@gmail.com |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell98 |
Documentation
data SurfaceStruct Source #
type Surface = ForeignPtr SurfaceStruct Source #
data VideoInfoStruct Source #
type VideoInfo = ForeignPtr VideoInfoStruct Source #
data RWopsStruct Source #
type RWops = ForeignPtr RWopsStruct Source #
data PixelFormatStruct Source #
data JoystickStruct Source #
type Joystick = ForeignPtr JoystickStruct Source #
data TimerIDStruct Source #
data SurfaceFlag Source #
SWSurface | |
HWSurface | |
OpenGL | |
ASyncBlit | |
OpenGLBlit | |
Resizable | |
NoFrame | |
HWAccel | |
SrcColorKey | |
RLEAccel | |
SrcAlpha | |
PreAlloc | |
AnyFormat | |
HWPalette | |
DoubleBuf | |
Fullscreen |
Instances
surfaceGetWidth :: Surface -> Int Source #
surfaceGetHeight :: Surface -> Int Source #
surfaceGetFlags :: Surface -> IO [SurfaceFlag] Source #
surfaceGetPitch :: Surface -> Word16 Source #
surfaceGetPixels :: Surface -> IO Pixels Source #
pixelFormatGetAlpha :: PixelFormat -> IO Word8 Source #
videoInfoWidth :: VideoInfo -> Int Source #
videoInfoHeight :: VideoInfo -> Int Source #