| Portability | portable |
|---|---|
| Stability | provisional |
| Maintainer | lemmih@gmail.com |
| Safe Haskell | None |
Graphics.UI.SDL.Types
Description
Documentation
data SurfaceStruct
type Surface = ForeignPtr SurfaceStruct
data VideoInfoStruct
type VideoInfo = ForeignPtr VideoInfoStruct
data RWopsStruct
type RWops = ForeignPtr RWopsStruct
data PixelFormatStruct
data JoystickStruct
type Joystick = ForeignPtr JoystickStruct
data Hat
Constructors
| HatCentered | |
| HatUp | |
| HatRight | |
| HatDown | |
| HatLeft | |
| HatRightUp | |
| HatRightDown | |
| HatLeftUp | |
| HatLeftDown |
data TimerIDStruct
data SurfaceFlag
surfaceGetWidth :: Surface -> Int
surfaceGetHeight :: Surface -> Int
surfaceGetFlags :: Surface -> IO [SurfaceFlag]
surfaceGetPitch :: Surface -> Word16
surfaceGetPixels :: Surface -> IO Pixels
videoInfoWidth :: VideoInfo -> Int
videoInfoHeight :: VideoInfo -> Int