Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
SDL.Raw.Types
Synopsis
- type VkGetInstanceProcAddrFunc = VkInstance -> CString -> IO (FunPtr ())
- type AudioCallback = FunPtr (Ptr () -> Ptr Word8 -> CInt -> IO ())
- type EventFilter = FunPtr (Ptr () -> Ptr Event -> IO CInt)
- type HintCallback = FunPtr (Ptr () -> CString -> CString -> CString -> IO ())
- type LogOutputFunction = FunPtr (Ptr () -> CInt -> LogPriority -> CString -> IO ())
- type ThreadFunction = FunPtr (Ptr () -> IO CInt)
- type TimerCallback = FunPtr (Word32 -> Ptr () -> IO Word32)
- mkAudioCallback :: (Ptr () -> Ptr Word8 -> CInt -> IO ()) -> IO AudioCallback
- mkEventFilter :: (Ptr () -> Ptr Event -> IO CInt) -> IO EventFilter
- mkHintCallback :: (Ptr () -> CString -> CString -> CString -> IO ()) -> IO HintCallback
- mkLogOutputFunction :: (Ptr () -> CInt -> LogPriority -> CString -> IO ()) -> IO LogOutputFunction
- mkThreadFunction :: (Ptr () -> IO CInt) -> IO ThreadFunction
- mkTimerCallback :: (Word32 -> Ptr () -> IO Word32) -> IO TimerCallback
- type AudioDeviceID = Word32
- type AudioFormat = Word16
- type Cond = Ptr ()
- type Cursor = Ptr ()
- type FingerID = Int64
- type GameController = Ptr ()
- type GestureID = Int64
- type GLContext = Ptr ()
- type Haptic = Ptr ()
- type Joystick = Ptr ()
- type JoystickID = Int32
- type Mutex = Ptr ()
- type Renderer = Ptr ()
- type Sem = Ptr ()
- type SpinLock = CInt
- type SysWMinfo = Ptr ()
- type SysWMmsg = Ptr ()
- type Texture = Ptr ()
- type Thread = Ptr ()
- type ThreadID = CULong
- type TimerID = CInt
- type TLSID = CUInt
- type TouchID = Int64
- type VkInstance = Ptr ()
- type VkSurfaceKHR = Word64
- type Window = Ptr ()
- data Atomic = Atomic {
- atomicValue :: !CInt
- data AudioCVT = AudioCVT {
- audioCVTNeeded :: !CInt
- audioCVTSrcFormat :: !AudioFormat
- audioCVTDstFormat :: !AudioFormat
- audioCVTRateIncr :: !CDouble
- audioCVTBuf :: !(Ptr Word8)
- audioCVTLen :: !CInt
- audioCVTLenCvt :: !CInt
- audioCVTLenMult :: !CInt
- audioCVTLenRatio :: !CDouble
- data AudioSpec = AudioSpec {
- audioSpecFreq :: !CInt
- audioSpecFormat :: !AudioFormat
- audioSpecChannels :: !Word8
- audioSpecSilence :: !Word8
- audioSpecSamples :: !Word16
- audioSpecSize :: !Word32
- audioSpecCallback :: !AudioCallback
- audioSpecUserdata :: !(Ptr ())
- data Color = Color {}
- data DisplayMode = DisplayMode {
- displayModeFormat :: !Word32
- displayModeW :: !CInt
- displayModeH :: !CInt
- displayModeRefreshRate :: !CInt
- displayModeDriverData :: !(Ptr ())
- data Event
- = WindowEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- windowEventWindowID :: !Word32
- windowEventEvent :: !Word8
- windowEventData1 :: !Int32
- windowEventData2 :: !Int32
- | KeyboardEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- keyboardEventWindowID :: !Word32
- keyboardEventState :: !Word8
- keyboardEventRepeat :: !Word8
- keyboardEventKeysym :: !Keysym
- | TextEditingEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- textEditingEventWindowID :: !Word32
- textEditingEventText :: ![CChar]
- textEditingEventStart :: !Int32
- textEditingEventLength :: !Int32
- | TextInputEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- textInputEventWindowID :: !Word32
- textInputEventText :: ![CChar]
- | KeymapChangedEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- | MouseMotionEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- mouseMotionEventWindowID :: !Word32
- mouseMotionEventWhich :: !Word32
- mouseMotionEventState :: !Word32
- mouseMotionEventX :: !Int32
- mouseMotionEventY :: !Int32
- mouseMotionEventXRel :: !Int32
- mouseMotionEventYRel :: !Int32
- | MouseButtonEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- mouseButtonEventWindowID :: !Word32
- mouseButtonEventWhich :: !Word32
- mouseButtonEventButton :: !Word8
- mouseButtonEventState :: !Word8
- mouseButtonEventClicks :: !Word8
- mouseButtonEventX :: !Int32
- mouseButtonEventY :: !Int32
- | MouseWheelEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- mouseWheelEventWindowID :: !Word32
- mouseWheelEventWhich :: !Word32
- mouseWheelEventX :: !Int32
- mouseWheelEventY :: !Int32
- mouseWheelEventDirection :: !Word32
- | JoyAxisEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- joyAxisEventWhich :: !JoystickID
- joyAxisEventAxis :: !Word8
- joyAxisEventValue :: !Int16
- | JoyBallEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- joyBallEventWhich :: !JoystickID
- joyBallEventBall :: !Word8
- joyBallEventXRel :: !Int16
- joyBallEventYRel :: !Int16
- | JoyHatEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- joyHatEventWhich :: !JoystickID
- joyHatEventHat :: !Word8
- joyHatEventValue :: !Word8
- | JoyButtonEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- joyButtonEventWhich :: !JoystickID
- joyButtonEventButton :: !Word8
- joyButtonEventState :: !Word8
- | JoyDeviceEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- joyDeviceEventWhich :: !Int32
- | ControllerAxisEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- controllerAxisEventWhich :: !JoystickID
- controllerAxisEventAxis :: !Word8
- controllerAxisEventValue :: !Int16
- | ControllerButtonEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- controllerButtonEventWhich :: !JoystickID
- controllerButtonEventButton :: !Word8
- controllerButtonEventState :: !Word8
- | ControllerDeviceEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- controllerDeviceEventWhich :: !Int32
- | AudioDeviceEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- audioDeviceEventWhich :: !Word32
- audioDeviceEventIsCapture :: !Word8
- | QuitEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- | UserEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- userEventWindowID :: !Word32
- userEventCode :: !Int32
- userEventData1 :: !(Ptr ())
- userEventData2 :: !(Ptr ())
- | SysWMEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- sysWMEventMsg :: !SysWMmsg
- | TouchFingerEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- touchFingerEventTouchID :: !TouchID
- touchFingerEventFingerID :: !FingerID
- touchFingerEventX :: !CFloat
- touchFingerEventY :: !CFloat
- touchFingerEventDX :: !CFloat
- touchFingerEventDY :: !CFloat
- touchFingerEventPressure :: !CFloat
- | MultiGestureEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- multiGestureEventTouchID :: !TouchID
- multiGestureEventDTheta :: !CFloat
- multiGestureEventDDist :: !CFloat
- multiGestureEventX :: !CFloat
- multiGestureEventY :: !CFloat
- multiGestureEventNumFingers :: !Word16
- | DollarGestureEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- dollarGestureEventTouchID :: !TouchID
- dollarGestureEventGestureID :: !GestureID
- dollarGestureEventNumFingers :: !Word32
- dollarGestureEventError :: !CFloat
- dollarGestureEventX :: !CFloat
- dollarGestureEventY :: !CFloat
- | DropEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- dropEventFile :: !CString
- | ClipboardUpdateEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- | UnknownEvent {
- eventType :: !Word32
- eventTimestamp :: !Word32
- = WindowEvent {
- data Finger = Finger {
- fingerID :: !FingerID
- fingerX :: !CFloat
- fingerY :: !CFloat
- fingerPressure :: !CFloat
- data GameControllerButtonBind
- = GameControllerButtonBindNone
- | GameControllerButtonBindButton {
- gameControllerButtonBindButton :: !CInt
- | GameControllerButtonBindAxis {
- gameControllerButtonBindAxis :: !CInt
- | GameControllerButtonBindHat {
- gameControllerButtonBindHat :: !CInt
- gameControllerButtonBindHatMask :: !CInt
- data HapticDirection = HapticDirection {
- hapticDirectionType :: !Word8
- hapticDirectionX :: !Int32
- hapticDirectionY :: !Int32
- hapticDirectionZ :: !Int32
- data HapticEffect
- = HapticConstant {
- hapticEffectType :: !Word16
- hapticConstantDirection :: !HapticDirection
- hapticConstantLength :: !Word32
- hapticConstantDelay :: !Word16
- hapticConstantButton :: !Word16
- hapticConstantInterval :: !Word16
- hapticConstantLevel :: !Int16
- hapticConstantAttackLength :: !Word16
- hapticConstantAttackLevel :: !Word16
- hapticConstantFadeLength :: !Word16
- hapticConstantFadeLevel :: !Word16
- | HapticPeriodic {
- hapticEffectType :: !Word16
- hapticPeriodicDirection :: !HapticDirection
- hapticPeriodicLength :: !Word32
- hapticPeriodicDelay :: !Word16
- hapticPeriodicButton :: !Word16
- hapticPeriodicInterval :: !Word16
- hapticPeriodicPeriod :: !Word16
- hapticPeriodicMagnitude :: !Int16
- hapticPeriodicOffset :: !Int16
- hapticPeriodicPhase :: !Word16
- hapticPeriodicAttackLength :: !Word16
- hapticPeriodicAttackLevel :: !Word16
- hapticPeriodicFadeLength :: !Word16
- hapticPeriodicFadeLevel :: !Word16
- | HapticCondition {
- hapticEffectType :: !Word16
- hapticConditionLength :: !Word32
- hapticConditionDelay :: !Word16
- hapticConditionButton :: !Word16
- hapticConditionInterval :: !Word16
- hapticConditionRightSat :: ![Word16]
- hapticConditionLeftSat :: ![Word16]
- hapticConditionRightCoeff :: ![Int16]
- hapticConditionLeftCoeff :: ![Int16]
- hapticConditionDeadband :: ![Word16]
- hapticConditionCenter :: ![Int16]
- | HapticRamp {
- hapticEffectType :: !Word16
- hapticRampDirection :: !HapticDirection
- hapticRampLength :: !Word32
- hapticRampDelay :: !Word16
- hapticRampButton :: !Word16
- hapticRampInterval :: !Word16
- hapticRampStart :: !Int16
- hapticRampEnd :: !Int16
- hapticRampAttackLength :: !Word16
- hapticRampAttackLevel :: !Word16
- hapticRampFadeLength :: !Word16
- hapticRampFadeLevel :: !Word16
- | HapticLeftRight {
- hapticEffectType :: !Word16
- hapticLeftRightLength :: !Word32
- hapticLeftRightLargeMagnitude :: !Word16
- hapticLeftRightSmallMagnitude :: !Word16
- | HapticCustom {
- hapticEffectType :: !Word16
- hapticCustomDirection :: !HapticDirection
- hapticCustomLength :: !Word32
- hapticCustomDelay :: !Word16
- hapticCustomButton :: !Word16
- hapticCustomInterval :: !Word16
- hapticCustomChannels :: !Word8
- hapticCustomPeriod :: !Word16
- hapticCustomSamples :: !Word16
- hapticCustomData :: !(Ptr Word16)
- hapticCustomAttackLength :: !Word16
- hapticCustomAttackLevel :: !Word16
- hapticCustomFadeLength :: !Word16
- hapticCustomFadeLevel :: !Word16
- = HapticConstant {
- data JoystickGUID = JoystickGUID {
- joystickGUID :: ![Word8]
- data Keysym = Keysym {
- keysymScancode :: !Scancode
- keysymKeycode :: !Keycode
- keysymMod :: !Word16
- data MessageBoxButtonData = MessageBoxButtonData {
- messageBoxButtonDataFlags :: !Word32
- messageBoxButtonButtonID :: !CInt
- messageBoxButtonText :: !CString
- data MessageBoxColor = MessageBoxColor {
- messageBoxColorR :: !Word8
- messageBoxColorG :: !Word8
- messageBoxColorB :: !Word8
- data MessageBoxColorScheme = MessageBoxColorScheme {}
- data MessageBoxData = MessageBoxData {
- messageBoxDataFlags :: !Word32
- messageBoxDataWindow :: !Window
- messageBoxDataTitle :: !CString
- messageBoxDataMessage :: !CString
- messageBoxDataNumButtons :: !CInt
- messageBoxDataButtons :: !(Ptr MessageBoxButtonData)
- messageBoxDataColorScheme :: !(Ptr MessageBoxColorScheme)
- data Palette = Palette {
- paletteNColors :: !CInt
- paletteColors :: !(Ptr Color)
- data PixelFormat = PixelFormat {
- pixelFormatFormat :: !Word32
- pixelFormatPalette :: !(Ptr Palette)
- pixelFormatBitsPerPixel :: !Word8
- pixelFormatBytesPerPixel :: !Word8
- pixelFormatRMask :: !Word32
- pixelFormatGMask :: !Word32
- pixelFormatBMask :: !Word32
- pixelFormatAMask :: !Word32
- data Point = Point {}
- data Rect = Rect {}
- data RendererInfo = RendererInfo {
- rendererInfoName :: !CString
- rendererInfoFlags :: !Word32
- rendererInfoNumTextureFormats :: !Word32
- rendererInfoTextureFormats :: ![Word32]
- rendererInfoMaxTextureWidth :: !CInt
- rendererInfoMaxTextureHeight :: !CInt
- data RWops = RWops {
- rwopsSize :: !(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
- data Surface = Surface {
- surfaceFormat :: !(Ptr PixelFormat)
- surfaceW :: !CInt
- surfaceH :: !CInt
- surfacePixels :: !(Ptr ())
- surfaceUserdata :: !(Ptr ())
- surfaceClipRect :: !Rect
- surfaceRefcount :: !CInt
- data Version = Version {
- versionMajor :: !Word8
- versionMinor :: !Word8
- versionPatch :: !Word8
Type Aliases
Function Types
type VkGetInstanceProcAddrFunc = VkInstance -> CString -> IO (FunPtr ()) Source #
type AudioCallback = FunPtr (Ptr () -> Ptr Word8 -> CInt -> IO ()) Source #
type EventFilter = FunPtr (Ptr () -> Ptr Event -> IO CInt) Source #
type HintCallback = FunPtr (Ptr () -> CString -> CString -> CString -> IO ()) Source #
type LogOutputFunction = FunPtr (Ptr () -> CInt -> LogPriority -> CString -> IO ()) Source #
type ThreadFunction = FunPtr (Ptr () -> IO CInt) Source #
type TimerCallback = FunPtr (Word32 -> Ptr () -> IO Word32) Source #
mkAudioCallback :: (Ptr () -> Ptr Word8 -> CInt -> IO ()) -> IO AudioCallback Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
mkEventFilter :: (Ptr () -> Ptr Event -> IO CInt) -> IO EventFilter Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
mkHintCallback :: (Ptr () -> CString -> CString -> CString -> IO ()) -> IO HintCallback Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
mkLogOutputFunction :: (Ptr () -> CInt -> LogPriority -> CString -> IO ()) -> IO LogOutputFunction Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
mkThreadFunction :: (Ptr () -> IO CInt) -> IO ThreadFunction Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
mkTimerCallback :: (Word32 -> Ptr () -> IO Word32) -> IO TimerCallback Source #
The storage associated with the resulting FunPtr
has to be released with
freeHaskellFunPtr
when it is no longer required.
Common Types
type AudioDeviceID = Word32 Source #
type AudioFormat = Word16 Source #
type GameController = Ptr () Source #
type JoystickID = Int32 Source #
type VkInstance = Ptr () Source #
type VkSurfaceKHR = Word64 Source #
Data Structures
Constructors
Atomic | |
Fields
|
Instances
Eq Atomic Source # | |
Show Atomic Source # | |
Storable Atomic Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Atomic -> Int -> IO Atomic pokeElemOff :: Ptr Atomic -> Int -> Atomic -> IO () peekByteOff :: Ptr b -> Int -> IO Atomic pokeByteOff :: Ptr b -> Int -> Atomic -> IO () |
Constructors
AudioCVT | |
Fields
|
Instances
Eq AudioCVT Source # | |
Show AudioCVT Source # | |
Storable AudioCVT Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr AudioCVT -> Int -> IO AudioCVT pokeElemOff :: Ptr AudioCVT -> Int -> AudioCVT -> IO () peekByteOff :: Ptr b -> Int -> IO AudioCVT pokeByteOff :: Ptr b -> Int -> AudioCVT -> IO () |
Constructors
AudioSpec | |
Fields
|
Instances
Eq AudioSpec Source # | |
Show AudioSpec Source # | |
Storable AudioSpec Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr AudioSpec -> Int -> IO AudioSpec pokeElemOff :: Ptr AudioSpec -> Int -> AudioSpec -> IO () peekByteOff :: Ptr b -> Int -> IO AudioSpec pokeByteOff :: Ptr b -> Int -> AudioSpec -> IO () |
Instances
Eq Color Source # | |
Show Color Source # | |
Storable Color Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Color -> Int -> IO Color pokeElemOff :: Ptr Color -> Int -> Color -> IO () peekByteOff :: Ptr b -> Int -> IO Color pokeByteOff :: Ptr b -> Int -> Color -> IO () |
data DisplayMode Source #
Constructors
DisplayMode | |
Fields
|
Instances
Eq DisplayMode Source # | |
Defined in SDL.Raw.Types | |
Show DisplayMode Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> DisplayMode -> ShowS show :: DisplayMode -> String showList :: [DisplayMode] -> ShowS | |
Storable DisplayMode Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: DisplayMode -> Int alignment :: DisplayMode -> Int peekElemOff :: Ptr DisplayMode -> Int -> IO DisplayMode pokeElemOff :: Ptr DisplayMode -> Int -> DisplayMode -> IO () peekByteOff :: Ptr b -> Int -> IO DisplayMode pokeByteOff :: Ptr b -> Int -> DisplayMode -> IO () peek :: Ptr DisplayMode -> IO DisplayMode poke :: Ptr DisplayMode -> DisplayMode -> IO () |
Constructors
Instances
Eq Event Source # | |
Show Event Source # | |
Storable Event Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Event -> Int -> IO Event pokeElemOff :: Ptr Event -> Int -> Event -> IO () peekByteOff :: Ptr b -> Int -> IO Event pokeByteOff :: Ptr b -> Int -> Event -> IO () |
Constructors
Finger | |
Fields
|
Instances
Eq Finger Source # | |
Show Finger Source # | |
Storable Finger Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Finger -> Int -> IO Finger pokeElemOff :: Ptr Finger -> Int -> Finger -> IO () peekByteOff :: Ptr b -> Int -> IO Finger pokeByteOff :: Ptr b -> Int -> Finger -> IO () |
data GameControllerButtonBind Source #
Constructors
GameControllerButtonBindNone | |
GameControllerButtonBindButton | |
Fields
| |
GameControllerButtonBindAxis | |
Fields
| |
GameControllerButtonBindHat | |
Fields
|
Instances
data HapticDirection Source #
Constructors
HapticDirection | |
Fields
|
Instances
Eq HapticDirection Source # | |
Defined in SDL.Raw.Types Methods (==) :: HapticDirection -> HapticDirection -> Bool (/=) :: HapticDirection -> HapticDirection -> Bool | |
Show HapticDirection Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> HapticDirection -> ShowS show :: HapticDirection -> String showList :: [HapticDirection] -> ShowS | |
Storable HapticDirection Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: HapticDirection -> Int alignment :: HapticDirection -> Int peekElemOff :: Ptr HapticDirection -> Int -> IO HapticDirection pokeElemOff :: Ptr HapticDirection -> Int -> HapticDirection -> IO () peekByteOff :: Ptr b -> Int -> IO HapticDirection pokeByteOff :: Ptr b -> Int -> HapticDirection -> IO () peek :: Ptr HapticDirection -> IO HapticDirection poke :: Ptr HapticDirection -> HapticDirection -> IO () |
data HapticEffect Source #
Constructors
Instances
Eq HapticEffect Source # | |
Defined in SDL.Raw.Types | |
Show HapticEffect Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> HapticEffect -> ShowS show :: HapticEffect -> String showList :: [HapticEffect] -> ShowS | |
Storable HapticEffect Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: HapticEffect -> Int alignment :: HapticEffect -> Int peekElemOff :: Ptr HapticEffect -> Int -> IO HapticEffect pokeElemOff :: Ptr HapticEffect -> Int -> HapticEffect -> IO () peekByteOff :: Ptr b -> Int -> IO HapticEffect pokeByteOff :: Ptr b -> Int -> HapticEffect -> IO () peek :: Ptr HapticEffect -> IO HapticEffect poke :: Ptr HapticEffect -> HapticEffect -> IO () |
data JoystickGUID Source #
Constructors
JoystickGUID | |
Fields
|
Instances
Eq JoystickGUID Source # | |
Defined in SDL.Raw.Types | |
Show JoystickGUID Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> JoystickGUID -> ShowS show :: JoystickGUID -> String showList :: [JoystickGUID] -> ShowS | |
Storable JoystickGUID Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: JoystickGUID -> Int alignment :: JoystickGUID -> Int peekElemOff :: Ptr JoystickGUID -> Int -> IO JoystickGUID pokeElemOff :: Ptr JoystickGUID -> Int -> JoystickGUID -> IO () peekByteOff :: Ptr b -> Int -> IO JoystickGUID pokeByteOff :: Ptr b -> Int -> JoystickGUID -> IO () peek :: Ptr JoystickGUID -> IO JoystickGUID poke :: Ptr JoystickGUID -> JoystickGUID -> IO () |
Constructors
Keysym | |
Fields
|
Instances
Eq Keysym Source # | |
Show Keysym Source # | |
Storable Keysym Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Keysym -> Int -> IO Keysym pokeElemOff :: Ptr Keysym -> Int -> Keysym -> IO () peekByteOff :: Ptr b -> Int -> IO Keysym pokeByteOff :: Ptr b -> Int -> Keysym -> IO () |
data MessageBoxButtonData Source #
Constructors
MessageBoxButtonData | |
Fields
|
Instances
Eq MessageBoxButtonData Source # | |
Defined in SDL.Raw.Types Methods (==) :: MessageBoxButtonData -> MessageBoxButtonData -> Bool (/=) :: MessageBoxButtonData -> MessageBoxButtonData -> Bool | |
Show MessageBoxButtonData Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> MessageBoxButtonData -> ShowS show :: MessageBoxButtonData -> String showList :: [MessageBoxButtonData] -> ShowS | |
Storable MessageBoxButtonData Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: MessageBoxButtonData -> Int alignment :: MessageBoxButtonData -> Int peekElemOff :: Ptr MessageBoxButtonData -> Int -> IO MessageBoxButtonData pokeElemOff :: Ptr MessageBoxButtonData -> Int -> MessageBoxButtonData -> IO () peekByteOff :: Ptr b -> Int -> IO MessageBoxButtonData pokeByteOff :: Ptr b -> Int -> MessageBoxButtonData -> IO () peek :: Ptr MessageBoxButtonData -> IO MessageBoxButtonData poke :: Ptr MessageBoxButtonData -> MessageBoxButtonData -> IO () |
data MessageBoxColor Source #
Constructors
MessageBoxColor | |
Fields
|
Instances
Eq MessageBoxColor Source # | |
Defined in SDL.Raw.Types Methods (==) :: MessageBoxColor -> MessageBoxColor -> Bool (/=) :: MessageBoxColor -> MessageBoxColor -> Bool | |
Show MessageBoxColor Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> MessageBoxColor -> ShowS show :: MessageBoxColor -> String showList :: [MessageBoxColor] -> ShowS | |
Storable MessageBoxColor Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: MessageBoxColor -> Int alignment :: MessageBoxColor -> Int peekElemOff :: Ptr MessageBoxColor -> Int -> IO MessageBoxColor pokeElemOff :: Ptr MessageBoxColor -> Int -> MessageBoxColor -> IO () peekByteOff :: Ptr b -> Int -> IO MessageBoxColor pokeByteOff :: Ptr b -> Int -> MessageBoxColor -> IO () peek :: Ptr MessageBoxColor -> IO MessageBoxColor poke :: Ptr MessageBoxColor -> MessageBoxColor -> IO () |
data MessageBoxColorScheme Source #
Constructors
MessageBoxColorScheme | |
Instances
Eq MessageBoxColorScheme Source # | |
Defined in SDL.Raw.Types Methods (==) :: MessageBoxColorScheme -> MessageBoxColorScheme -> Bool (/=) :: MessageBoxColorScheme -> MessageBoxColorScheme -> Bool | |
Show MessageBoxColorScheme Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> MessageBoxColorScheme -> ShowS show :: MessageBoxColorScheme -> String showList :: [MessageBoxColorScheme] -> ShowS | |
Storable MessageBoxColorScheme Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: MessageBoxColorScheme -> Int alignment :: MessageBoxColorScheme -> Int peekElemOff :: Ptr MessageBoxColorScheme -> Int -> IO MessageBoxColorScheme pokeElemOff :: Ptr MessageBoxColorScheme -> Int -> MessageBoxColorScheme -> IO () peekByteOff :: Ptr b -> Int -> IO MessageBoxColorScheme pokeByteOff :: Ptr b -> Int -> MessageBoxColorScheme -> IO () peek :: Ptr MessageBoxColorScheme -> IO MessageBoxColorScheme poke :: Ptr MessageBoxColorScheme -> MessageBoxColorScheme -> IO () |
data MessageBoxData Source #
Constructors
MessageBoxData | |
Fields
|
Instances
Eq MessageBoxData Source # | |
Defined in SDL.Raw.Types Methods (==) :: MessageBoxData -> MessageBoxData -> Bool (/=) :: MessageBoxData -> MessageBoxData -> Bool | |
Show MessageBoxData Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> MessageBoxData -> ShowS show :: MessageBoxData -> String showList :: [MessageBoxData] -> ShowS | |
Storable MessageBoxData Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: MessageBoxData -> Int alignment :: MessageBoxData -> Int peekElemOff :: Ptr MessageBoxData -> Int -> IO MessageBoxData pokeElemOff :: Ptr MessageBoxData -> Int -> MessageBoxData -> IO () peekByteOff :: Ptr b -> Int -> IO MessageBoxData pokeByteOff :: Ptr b -> Int -> MessageBoxData -> IO () peek :: Ptr MessageBoxData -> IO MessageBoxData poke :: Ptr MessageBoxData -> MessageBoxData -> IO () |
Constructors
Palette | |
Fields
|
Instances
Eq Palette Source # | |
Show Palette Source # | |
Storable Palette Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Palette -> Int -> IO Palette pokeElemOff :: Ptr Palette -> Int -> Palette -> IO () peekByteOff :: Ptr b -> Int -> IO Palette pokeByteOff :: Ptr b -> Int -> Palette -> IO () |
data PixelFormat Source #
Constructors
PixelFormat | |
Fields
|
Instances
Eq PixelFormat Source # | |
Defined in SDL.Raw.Types | |
Show PixelFormat Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> PixelFormat -> ShowS show :: PixelFormat -> String showList :: [PixelFormat] -> ShowS | |
Storable PixelFormat Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: PixelFormat -> Int alignment :: PixelFormat -> Int peekElemOff :: Ptr PixelFormat -> Int -> IO PixelFormat pokeElemOff :: Ptr PixelFormat -> Int -> PixelFormat -> IO () peekByteOff :: Ptr b -> Int -> IO PixelFormat pokeByteOff :: Ptr b -> Int -> PixelFormat -> IO () peek :: Ptr PixelFormat -> IO PixelFormat poke :: Ptr PixelFormat -> PixelFormat -> IO () |
Instances
Eq Point Source # | |
Show Point Source # | |
Storable Point Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Point -> Int -> IO Point pokeElemOff :: Ptr Point -> Int -> Point -> IO () peekByteOff :: Ptr b -> Int -> IO Point pokeByteOff :: Ptr b -> Int -> Point -> IO () |
Instances
Eq Rect Source # | |
Show Rect Source # | |
Storable Rect Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Rect -> Int -> IO Rect pokeElemOff :: Ptr Rect -> Int -> Rect -> IO () peekByteOff :: Ptr b -> Int -> IO Rect pokeByteOff :: Ptr b -> Int -> Rect -> IO () |
data RendererInfo Source #
Constructors
RendererInfo | |
Fields
|
Instances
Eq RendererInfo Source # | |
Defined in SDL.Raw.Types | |
Show RendererInfo Source # | |
Defined in SDL.Raw.Types Methods showsPrec :: Int -> RendererInfo -> ShowS show :: RendererInfo -> String showList :: [RendererInfo] -> ShowS | |
Storable RendererInfo Source # | |
Defined in SDL.Raw.Types Methods sizeOf :: RendererInfo -> Int alignment :: RendererInfo -> Int peekElemOff :: Ptr RendererInfo -> Int -> IO RendererInfo pokeElemOff :: Ptr RendererInfo -> Int -> RendererInfo -> IO () peekByteOff :: Ptr b -> Int -> IO RendererInfo pokeByteOff :: Ptr b -> Int -> RendererInfo -> IO () peek :: Ptr RendererInfo -> IO RendererInfo poke :: Ptr RendererInfo -> RendererInfo -> IO () |
Constructors
RWops | |
Fields
|
Instances
Eq RWops Source # | |
Show RWops Source # | |
Storable RWops Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr RWops -> Int -> IO RWops pokeElemOff :: Ptr RWops -> Int -> RWops -> IO () peekByteOff :: Ptr b -> Int -> IO RWops pokeByteOff :: Ptr b -> Int -> RWops -> IO () |
Constructors
Surface | |
Fields
|
Instances
Eq Surface Source # | |
Show Surface Source # | |
Storable Surface Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Surface -> Int -> IO Surface pokeElemOff :: Ptr Surface -> Int -> Surface -> IO () peekByteOff :: Ptr b -> Int -> IO Surface pokeByteOff :: Ptr b -> Int -> Surface -> IO () |
Constructors
Version | |
Fields
|
Instances
Eq Version Source # | |
Show Version Source # | |
Storable Version Source # | |
Defined in SDL.Raw.Types Methods peekElemOff :: Ptr Version -> Int -> IO Version pokeElemOff :: Ptr Version -> Int -> Version -> IO () peekByteOff :: Ptr b -> Int -> IO Version pokeByteOff :: Ptr b -> Int -> Version -> IO () |