sdl2-1.3.1: Low-level bindings to SDL2

Safe HaskellSafe
LanguageHaskell2010

Graphics.UI.SDL.Video

Contents

Synopsis

Display and Window Management

setWindowData :: MonadIO m => Window -> CString -> Ptr () -> m (Ptr ()) Source

setWindowSize :: MonadIO m => Window -> CInt -> CInt -> m () Source

videoQuit :: MonadIO m => m () Source

2D Accelerated Rendering

lockTexture :: MonadIO m => Texture -> Ptr Rect -> Ptr (Ptr ()) -> Ptr CInt -> m CInt Source

Pixel Formats and Conversion Routines

Rectangle Functions

unionRect :: MonadIO m => Ptr Rect -> Ptr Rect -> Ptr Rect -> m () Source

Surface Creation and Simple Drawing

convertPixels :: MonadIO m => CInt -> CInt -> Word32 -> Ptr () -> CInt -> Word32 -> Ptr () -> CInt -> m CInt Source

Platform-specific Window Management

Clipboard Handling