| Copyright | (c) David Himmelstrup 2005 |
|---|---|
| License | BSD-like |
| Maintainer | lemmih@gmail.com |
| Stability | provisional |
| Portability | portable |
| Safe Haskell | None |
| Language | Haskell98 |
Graphics.UI.SDL.Types
Description
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
Constructors
| HatCentered | |
| HatUp | |
| HatRight | |
| HatDown | |
| HatLeft | |
| HatRightUp | |
| HatRightDown | |
| HatLeftUp | |
| HatLeftDown |
data TimerIDStruct Source
data SurfaceFlag Source
surfaceGetWidth :: Surface -> Int Source
surfaceGetHeight :: Surface -> Int Source
surfaceGetFlags :: Surface -> IO [SurfaceFlag] Source
surfaceGetPitch :: Surface -> Word16 Source
surfaceGetPixels :: Surface -> IO Pixels Source
videoInfoWidth :: VideoInfo -> Int Source
videoInfoHeight :: VideoInfo -> Int Source