@hackage sdl22.5.5.1
Both high- and low-level bindings to the SDL library (version 2.0.6+).
Categories
License
BSD-3-Clause
Maintainer
gabriel@system.is, ollie@ocharles.org.uk
Links
Versions
Installation
Dependencies (8)
- StateVar >=1.1.0.0 && <1.3
- base >=4.7 && <5
- bytestring >=0.10.4.0 && <0.13
- exceptions >=0.4 && <0.11
- linear >=1.10.1.2 && <1.24
- text >=1.1.0.0 && <2.2 Show all…
Dependents (61)
@hackage/tcod-haskell, @hackage/halive, @hackage/aztecs-sdl-image, @hackage/reactive-banana-sdl2, @hackage/animate-example, @hackage/pine, Show all…
Package Flags
examples
(off by default)
Build examples (except opengl-example)
opengl-example
(off by default)
Build opengl-example
no-linear
(off by default)
Do not depend on linear library
recent-ish
(on by default)
Use features from a more recent libsdl2 release.
pkgconfig
(on by default)
Use pkgconfig to sort out SDL2 dependency
This package contains bindings to the SDL 2 library, in both high- and low-level forms:
The SDL namespace contains high-level bindings, where enumerations are split
into sum types, and we perform automatic error-checking.
The SDL.Raw namespace contains an almost 1-1 translation of the C API into
Haskell FFI calls. As such, this does not contain sum types nor error
checking. Thus this namespace is suitable for building your own abstraction
over SDL, but is not recommended for day-to-day programming.
Read SDL for a getting started guide.