Modulesdl2-2.5.6.1Haskell2010
SDL.Raw.Types
Synopsis
- type VkGetInstanceProcAddrFunc
- type AudioCallback
- type EventFilter
- type HintCallback
- type LogOutputFunction
- type ThreadFunction
- type TimerCallback
- value mkAudioCallback
- value mkEventFilter
- value mkHintCallback
- value mkLogOutputFunction
- value mkThreadFunction
- value mkTimerCallback
- type AudioDeviceID
- type AudioFormat
- type Cond
- type Cursor
- type FingerID
- type GameController
- type GestureID
- type GLContext
- type Haptic
- type Joystick
- type JoystickID
- type Mutex
- type Renderer
- type Sem
- type SpinLock
- type SysWMinfo
- type SysWMmsg
- type Texture
- type Thread
- type ThreadID
- type TimerID
- type TLSID
- type TouchID
- type VkInstance
- type VkSurfaceKHR
- type Window
- data Atomic
- data AudioCVT
- data AudioSpec
- data Color
- data DisplayMode
- data Event
- data Finger
- data GameControllerButtonBind
- data HapticDirection
- data HapticEffect
- data JoystickGUID
- data Keysym
- data MessageBoxButtonData
- data MessageBoxColor
- data MessageBoxColorScheme
- data MessageBoxData
- data Palette
- data PixelFormat
- data Point
- data Rect
- data FPoint
- data FRect
- data Vertex
- data RendererInfo
- data RWops
- data Surface
- data Version
- Packagesdl2-2.5.6.1
- Exports66
- LanguageHaskell2010
- LicenceBSD-3-Clause
- SourceTypes.hsc
Type Aliases
Function Types
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
The storage associated with the resulting FunPtr has to be released with freeHaskellFunPtr when it is no longer required.
Common Types
Data Structures
Constructors
Constructors
Constructors
Constructors
Instances3Eq, Show, Storable
Eq DisplayModeDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow DisplayModeDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable DisplayModeDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
WindowEventKeyboardEventTextEditingEventTextInputEventeventType :: !Word32eventTimestamp :: !Word32textInputEventWindowID :: !Word32textInputEventText :: ![CChar]
KeymapChangedEventeventType :: !Word32eventTimestamp :: !Word32
MouseMotionEventMouseButtonEventMouseWheelEventJoyAxisEventJoyBallEventJoyHatEventJoyButtonEventJoyDeviceEventeventType :: !Word32eventTimestamp :: !Word32joyDeviceEventWhich :: !Int32
ControllerAxisEventControllerButtonEventControllerDeviceEventAudioDeviceEventQuitEventeventType :: !Word32eventTimestamp :: !Word32
UserEventeventType :: !Word32eventTimestamp :: !Word32userEventWindowID :: !Word32userEventCode :: !Int32userEventData1 :: !Ptr ()userEventData2 :: !Ptr ()
SysWMEventeventType :: !Word32eventTimestamp :: !Word32sysWMEventMsg :: !SysWMmsg
TouchFingerEventMultiGestureEventDollarGestureEventDropEventeventType :: !Word32eventTimestamp :: !Word32dropEventFile :: !CString
ClipboardUpdateEventeventType :: !Word32eventTimestamp :: !Word32
UnknownEventeventType :: !Word32eventTimestamp :: !Word32
Instances3Eq, Show, Storable
Eq GameControllerButtonBindDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow GameControllerButtonBindDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable GameControllerButtonBindDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Instances3Eq, Show, Storable
Eq HapticDirectionDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow HapticDirectionDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable HapticDirectionDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
HapticConstanthapticEffectType :: !Word16hapticConstantDirection :: !HapticDirectionhapticConstantLength :: !Word32hapticConstantDelay :: !Word16hapticConstantButton :: !Word16hapticConstantInterval :: !Word16hapticConstantLevel :: !Int16hapticConstantAttackLength :: !Word16hapticConstantAttackLevel :: !Word16hapticConstantFadeLength :: !Word16hapticConstantFadeLevel :: !Word16
HapticPeriodichapticEffectType :: !Word16hapticPeriodicDirection :: !HapticDirectionhapticPeriodicLength :: !Word32hapticPeriodicDelay :: !Word16hapticPeriodicButton :: !Word16hapticPeriodicInterval :: !Word16hapticPeriodicPeriod :: !Word16hapticPeriodicMagnitude :: !Int16hapticPeriodicOffset :: !Int16hapticPeriodicPhase :: !Word16hapticPeriodicAttackLength :: !Word16hapticPeriodicAttackLevel :: !Word16hapticPeriodicFadeLength :: !Word16hapticPeriodicFadeLevel :: !Word16
HapticConditionhapticEffectType :: !Word16hapticConditionLength :: !Word32hapticConditionDelay :: !Word16hapticConditionButton :: !Word16hapticConditionInterval :: !Word16hapticConditionRightSat :: ![Word16]hapticConditionLeftSat :: ![Word16]hapticConditionRightCoeff :: ![Int16]hapticConditionLeftCoeff :: ![Int16]hapticConditionDeadband :: ![Word16]hapticConditionCenter :: ![Int16]
HapticRamphapticEffectType :: !Word16hapticRampDirection :: !HapticDirectionhapticRampLength :: !Word32hapticRampDelay :: !Word16hapticRampButton :: !Word16hapticRampInterval :: !Word16hapticRampStart :: !Int16hapticRampEnd :: !Int16hapticRampAttackLength :: !Word16hapticRampAttackLevel :: !Word16hapticRampFadeLength :: !Word16hapticRampFadeLevel :: !Word16
HapticLeftRightHapticCustomhapticEffectType :: !Word16hapticCustomDirection :: !HapticDirectionhapticCustomLength :: !Word32hapticCustomDelay :: !Word16hapticCustomButton :: !Word16hapticCustomInterval :: !Word16hapticCustomChannels :: !Word8hapticCustomPeriod :: !Word16hapticCustomSamples :: !Word16hapticCustomData :: !Ptr Word16hapticCustomAttackLength :: !Word16hapticCustomAttackLevel :: !Word16hapticCustomFadeLength :: !Word16hapticCustomFadeLevel :: !Word16
Instances3Eq, Show, Storable
Eq HapticEffectDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow HapticEffectDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable HapticEffectDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Instances3Eq, Show, Storable
Eq JoystickGUIDDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow JoystickGUIDDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable JoystickGUIDDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Constructors
Instances3Eq, Show, Storable
Eq MessageBoxButtonDataDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow MessageBoxButtonDataDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable MessageBoxButtonDataDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Instances3Eq, Show, Storable
Eq MessageBoxColorDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow MessageBoxColorDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable MessageBoxColorDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Instances3Eq, Show, Storable
Eq MessageBoxColorSchemeDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow MessageBoxColorSchemeDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable MessageBoxColorSchemeDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Instances3Eq, Show, Storable
Eq MessageBoxDataDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow MessageBoxDataDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable MessageBoxDataDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Constructors
Instances3Eq, Show, Storable
Eq PixelFormatDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow PixelFormatDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable PixelFormatDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
Instances3Eq, Show, Storable
Eq RendererInfoDefined in sdl2-2.5.6.1 · SDL.Raw.TypesShow RendererInfoDefined in sdl2-2.5.6.1 · SDL.Raw.TypesStorable RendererInfoDefined in sdl2-2.5.6.1 · SDL.Raw.Types
Constructors
RWopsrwopsSize :: !FunPtr (Ptr RWops -> IO Int64)rwopsSeek :: !FunPtr (Ptr RWops -> Int64 -> CInt -> IO Int64)rwopsRead :: !FunPtr (Ptr RWops -> Ptr () -> CSize -> CSize -> IO CSize)rwopsWrite :: !FunPtr (Ptr RWops -> Ptr () -> CSize -> CSize -> IO CSize)rwopsClose :: !FunPtr (Ptr RWops -> IO CInt)rwopsType :: !Word32
Constructors
SurfacesurfaceFormat :: !Ptr PixelFormatsurfaceW :: !CIntsurfaceH :: !CIntsurfacePixels :: !Ptr ()surfaceUserdata :: !Ptr ()surfaceClipRect :: !RectsurfaceRefcount :: !CInt
Constructors
VersionversionMajor :: !Word8versionMinor :: !Word8versionPatch :: !Word8