sdl2-2.5.5.1: Both high- and low-level bindings to the SDL library (version 2.0.6+).
Safe HaskellSafe-Inferred
LanguageHaskell2010

SDL.Raw.Types

Synopsis

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 Cond = Ptr () Source #

type Cursor = Ptr () Source #

type FingerID = Int64 Source #

type GameController = Ptr () Source #

type GestureID = Int64 Source #

type GLContext = Ptr () Source #

type Haptic = Ptr () Source #

type Joystick = Ptr () Source #

type JoystickID = Int32 Source #

type Mutex = Ptr () Source #

type Renderer = Ptr () Source #

type Sem = Ptr () Source #

type SpinLock = CInt Source #

type SysWMinfo = Ptr () Source #

type SysWMmsg = Ptr () Source #

type Texture = Ptr () Source #

type Thread = Ptr () Source #

type ThreadID = CULong Source #

type TimerID = CInt Source #

type TLSID = CUInt Source #

type TouchID = Int64 Source #

type VkInstance = Ptr () Source #

type VkSurfaceKHR = Word64 Source #

type Window = Ptr () Source #

Data Structures

data Atomic Source #

Constructors

Atomic 

Fields

Instances

Instances details
Storable Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Atomic -> Int

alignment :: Atomic -> Int

peekElemOff :: Ptr Atomic -> Int -> IO Atomic

pokeElemOff :: Ptr Atomic -> Int -> Atomic -> IO ()

peekByteOff :: Ptr b -> Int -> IO Atomic

pokeByteOff :: Ptr b -> Int -> Atomic -> IO ()

peek :: Ptr Atomic -> IO Atomic

poke :: Ptr Atomic -> Atomic -> IO ()

Show Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Atomic -> ShowS

show :: Atomic -> String

showList :: [Atomic] -> ShowS

Eq Atomic Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Atomic -> Atomic -> Bool

(/=) :: Atomic -> Atomic -> Bool

data AudioCVT Source #

Constructors

AudioCVT 

Fields

Instances

Instances details
Storable AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: AudioCVT -> Int

alignment :: AudioCVT -> Int

peekElemOff :: Ptr AudioCVT -> Int -> IO AudioCVT

pokeElemOff :: Ptr AudioCVT -> Int -> AudioCVT -> IO ()

peekByteOff :: Ptr b -> Int -> IO AudioCVT

pokeByteOff :: Ptr b -> Int -> AudioCVT -> IO ()

peek :: Ptr AudioCVT -> IO AudioCVT

poke :: Ptr AudioCVT -> AudioCVT -> IO ()

Show AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> AudioCVT -> ShowS

show :: AudioCVT -> String

showList :: [AudioCVT] -> ShowS

Eq AudioCVT Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: AudioCVT -> AudioCVT -> Bool

(/=) :: AudioCVT -> AudioCVT -> Bool

data AudioSpec Source #

Constructors

AudioSpec 

Instances

Instances details
Storable AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: AudioSpec -> Int

alignment :: AudioSpec -> Int

peekElemOff :: Ptr AudioSpec -> Int -> IO AudioSpec

pokeElemOff :: Ptr AudioSpec -> Int -> AudioSpec -> IO ()

peekByteOff :: Ptr b -> Int -> IO AudioSpec

pokeByteOff :: Ptr b -> Int -> AudioSpec -> IO ()

peek :: Ptr AudioSpec -> IO AudioSpec

poke :: Ptr AudioSpec -> AudioSpec -> IO ()

Show AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> AudioSpec -> ShowS

show :: AudioSpec -> String

showList :: [AudioSpec] -> ShowS

Eq AudioSpec Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: AudioSpec -> AudioSpec -> Bool

(/=) :: AudioSpec -> AudioSpec -> Bool

data Color Source #

Constructors

Color 

Fields

Instances

Instances details
Storable Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Color -> Int

alignment :: Color -> Int

peekElemOff :: Ptr Color -> Int -> IO Color

pokeElemOff :: Ptr Color -> Int -> Color -> IO ()

peekByteOff :: Ptr b -> Int -> IO Color

pokeByteOff :: Ptr b -> Int -> Color -> IO ()

peek :: Ptr Color -> IO Color

poke :: Ptr Color -> Color -> IO ()

Show Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Color -> ShowS

show :: Color -> String

showList :: [Color] -> ShowS

Eq Color Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Color -> Color -> Bool

(/=) :: Color -> Color -> Bool

data DisplayMode Source #

Constructors

DisplayMode 

Fields

Instances

Instances details
Storable DisplayMode Source # 
Instance details

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 ()

Show DisplayMode Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> DisplayMode -> ShowS

show :: DisplayMode -> String

showList :: [DisplayMode] -> ShowS

Eq DisplayMode Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: DisplayMode -> DisplayMode -> Bool

(/=) :: DisplayMode -> DisplayMode -> Bool

data Event Source #

Constructors

WindowEvent 

Fields

KeyboardEvent 

Fields

TextEditingEvent 

Fields

TextInputEvent 

Fields

KeymapChangedEvent 

Fields

MouseMotionEvent 

Fields

MouseButtonEvent 

Fields

MouseWheelEvent 

Fields

JoyAxisEvent 

Fields

JoyBallEvent 

Fields

JoyHatEvent 

Fields

JoyButtonEvent 

Fields

JoyDeviceEvent 

Fields

ControllerAxisEvent 
ControllerButtonEvent 
ControllerDeviceEvent 

Fields

AudioDeviceEvent 

Fields

QuitEvent 

Fields

UserEvent 

Fields

SysWMEvent 

Fields

TouchFingerEvent 
MultiGestureEvent 
DollarGestureEvent 
DropEvent 

Fields

ClipboardUpdateEvent 

Fields

UnknownEvent 

Fields

Instances

Instances details
Storable Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Event -> Int

alignment :: Event -> Int

peekElemOff :: Ptr Event -> Int -> IO Event

pokeElemOff :: Ptr Event -> Int -> Event -> IO ()

peekByteOff :: Ptr b -> Int -> IO Event

pokeByteOff :: Ptr b -> Int -> Event -> IO ()

peek :: Ptr Event -> IO Event

poke :: Ptr Event -> Event -> IO ()

Show Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Event -> ShowS

show :: Event -> String

showList :: [Event] -> ShowS

Eq Event Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Event -> Event -> Bool

(/=) :: Event -> Event -> Bool

data Finger Source #

Constructors

Finger 

Fields

Instances

Instances details
Storable Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Finger -> Int

alignment :: Finger -> Int

peekElemOff :: Ptr Finger -> Int -> IO Finger

pokeElemOff :: Ptr Finger -> Int -> Finger -> IO ()

peekByteOff :: Ptr b -> Int -> IO Finger

pokeByteOff :: Ptr b -> Int -> Finger -> IO ()

peek :: Ptr Finger -> IO Finger

poke :: Ptr Finger -> Finger -> IO ()

Show Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Finger -> ShowS

show :: Finger -> String

showList :: [Finger] -> ShowS

Eq Finger Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Finger -> Finger -> Bool

(/=) :: Finger -> Finger -> Bool

data HapticDirection Source #

Constructors

HapticDirection 

Fields

Instances

Instances details
Storable HapticDirection Source # 
Instance details

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 ()

Show HapticDirection Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> HapticDirection -> ShowS

show :: HapticDirection -> String

showList :: [HapticDirection] -> ShowS

Eq HapticDirection Source # 
Instance details

Defined in SDL.Raw.Types

data HapticEffect Source #

Constructors

HapticConstant 
HapticPeriodic 
HapticCondition 
HapticRamp 

Fields

HapticLeftRight 
HapticCustom 

Instances

Instances details
Storable HapticEffect Source # 
Instance details

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 ()

Show HapticEffect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> HapticEffect -> ShowS

show :: HapticEffect -> String

showList :: [HapticEffect] -> ShowS

Eq HapticEffect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: HapticEffect -> HapticEffect -> Bool

(/=) :: HapticEffect -> HapticEffect -> Bool

data JoystickGUID Source #

Constructors

JoystickGUID 

Fields

Instances

Instances details
Storable JoystickGUID Source # 
Instance details

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 ()

Show JoystickGUID Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> JoystickGUID -> ShowS

show :: JoystickGUID -> String

showList :: [JoystickGUID] -> ShowS

Eq JoystickGUID Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: JoystickGUID -> JoystickGUID -> Bool

(/=) :: JoystickGUID -> JoystickGUID -> Bool

data Keysym Source #

Constructors

Keysym 

Instances

Instances details
Storable Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Keysym -> Int

alignment :: Keysym -> Int

peekElemOff :: Ptr Keysym -> Int -> IO Keysym

pokeElemOff :: Ptr Keysym -> Int -> Keysym -> IO ()

peekByteOff :: Ptr b -> Int -> IO Keysym

pokeByteOff :: Ptr b -> Int -> Keysym -> IO ()

peek :: Ptr Keysym -> IO Keysym

poke :: Ptr Keysym -> Keysym -> IO ()

Show Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Keysym -> ShowS

show :: Keysym -> String

showList :: [Keysym] -> ShowS

Eq Keysym Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Keysym -> Keysym -> Bool

(/=) :: Keysym -> Keysym -> Bool

data MessageBoxColor Source #

Constructors

MessageBoxColor 

Fields

Instances

Instances details
Storable MessageBoxColor Source # 
Instance details

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 ()

Show MessageBoxColor Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> MessageBoxColor -> ShowS

show :: MessageBoxColor -> String

showList :: [MessageBoxColor] -> ShowS

Eq MessageBoxColor Source # 
Instance details

Defined in SDL.Raw.Types

data MessageBoxData Source #

Instances

Instances details
Storable MessageBoxData Source # 
Instance details

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 ()

Show MessageBoxData Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> MessageBoxData -> ShowS

show :: MessageBoxData -> String

showList :: [MessageBoxData] -> ShowS

Eq MessageBoxData Source # 
Instance details

Defined in SDL.Raw.Types

data Palette Source #

Constructors

Palette 

Fields

Instances

Instances details
Storable Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Palette -> Int

alignment :: Palette -> Int

peekElemOff :: Ptr Palette -> Int -> IO Palette

pokeElemOff :: Ptr Palette -> Int -> Palette -> IO ()

peekByteOff :: Ptr b -> Int -> IO Palette

pokeByteOff :: Ptr b -> Int -> Palette -> IO ()

peek :: Ptr Palette -> IO Palette

poke :: Ptr Palette -> Palette -> IO ()

Show Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Palette -> ShowS

show :: Palette -> String

showList :: [Palette] -> ShowS

Eq Palette Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Palette -> Palette -> Bool

(/=) :: Palette -> Palette -> Bool

data PixelFormat Source #

Constructors

PixelFormat 

Fields

Instances

Instances details
Storable PixelFormat Source # 
Instance details

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 ()

Show PixelFormat Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> PixelFormat -> ShowS

show :: PixelFormat -> String

showList :: [PixelFormat] -> ShowS

Eq PixelFormat Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: PixelFormat -> PixelFormat -> Bool

(/=) :: PixelFormat -> PixelFormat -> Bool

data Point Source #

Constructors

Point 

Fields

Instances

Instances details
Storable Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Point -> Int

alignment :: Point -> Int

peekElemOff :: Ptr Point -> Int -> IO Point

pokeElemOff :: Ptr Point -> Int -> Point -> IO ()

peekByteOff :: Ptr b -> Int -> IO Point

pokeByteOff :: Ptr b -> Int -> Point -> IO ()

peek :: Ptr Point -> IO Point

poke :: Ptr Point -> Point -> IO ()

Show Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Point -> ShowS

show :: Point -> String

showList :: [Point] -> ShowS

Eq Point Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Point -> Point -> Bool

(/=) :: Point -> Point -> Bool

data Rect Source #

Constructors

Rect 

Fields

Instances

Instances details
Storable Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Rect -> Int

alignment :: Rect -> Int

peekElemOff :: Ptr Rect -> Int -> IO Rect

pokeElemOff :: Ptr Rect -> Int -> Rect -> IO ()

peekByteOff :: Ptr b -> Int -> IO Rect

pokeByteOff :: Ptr b -> Int -> Rect -> IO ()

peek :: Ptr Rect -> IO Rect

poke :: Ptr Rect -> Rect -> IO ()

Show Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Rect -> ShowS

show :: Rect -> String

showList :: [Rect] -> ShowS

Eq Rect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Rect -> Rect -> Bool

(/=) :: Rect -> Rect -> Bool

data FPoint Source #

Constructors

FPoint 

Fields

Instances

Instances details
Storable FPoint Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: FPoint -> Int

alignment :: FPoint -> Int

peekElemOff :: Ptr FPoint -> Int -> IO FPoint

pokeElemOff :: Ptr FPoint -> Int -> FPoint -> IO ()

peekByteOff :: Ptr b -> Int -> IO FPoint

pokeByteOff :: Ptr b -> Int -> FPoint -> IO ()

peek :: Ptr FPoint -> IO FPoint

poke :: Ptr FPoint -> FPoint -> IO ()

Show FPoint Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> FPoint -> ShowS

show :: FPoint -> String

showList :: [FPoint] -> ShowS

Eq FPoint Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: FPoint -> FPoint -> Bool

(/=) :: FPoint -> FPoint -> Bool

data FRect Source #

Constructors

FRect 

Fields

Instances

Instances details
Storable FRect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: FRect -> Int

alignment :: FRect -> Int

peekElemOff :: Ptr FRect -> Int -> IO FRect

pokeElemOff :: Ptr FRect -> Int -> FRect -> IO ()

peekByteOff :: Ptr b -> Int -> IO FRect

pokeByteOff :: Ptr b -> Int -> FRect -> IO ()

peek :: Ptr FRect -> IO FRect

poke :: Ptr FRect -> FRect -> IO ()

Show FRect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> FRect -> ShowS

show :: FRect -> String

showList :: [FRect] -> ShowS

Eq FRect Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: FRect -> FRect -> Bool

(/=) :: FRect -> FRect -> Bool

data Vertex Source #

Instances

Instances details
Storable Vertex Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Vertex -> Int

alignment :: Vertex -> Int

peekElemOff :: Ptr Vertex -> Int -> IO Vertex

pokeElemOff :: Ptr Vertex -> Int -> Vertex -> IO ()

peekByteOff :: Ptr b -> Int -> IO Vertex

pokeByteOff :: Ptr b -> Int -> Vertex -> IO ()

peek :: Ptr Vertex -> IO Vertex

poke :: Ptr Vertex -> Vertex -> IO ()

Show Vertex Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Vertex -> ShowS

show :: Vertex -> String

showList :: [Vertex] -> ShowS

Eq Vertex Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Vertex -> Vertex -> Bool

(/=) :: Vertex -> Vertex -> Bool

data RendererInfo Source #

Instances

Instances details
Storable RendererInfo Source # 
Instance details

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 ()

Show RendererInfo Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> RendererInfo -> ShowS

show :: RendererInfo -> String

showList :: [RendererInfo] -> ShowS

Eq RendererInfo Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: RendererInfo -> RendererInfo -> Bool

(/=) :: RendererInfo -> RendererInfo -> Bool

data RWops Source #

Constructors

RWops 

Fields

Instances

Instances details
Storable RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: RWops -> Int

alignment :: RWops -> Int

peekElemOff :: Ptr RWops -> Int -> IO RWops

pokeElemOff :: Ptr RWops -> Int -> RWops -> IO ()

peekByteOff :: Ptr b -> Int -> IO RWops

pokeByteOff :: Ptr b -> Int -> RWops -> IO ()

peek :: Ptr RWops -> IO RWops

poke :: Ptr RWops -> RWops -> IO ()

Show RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> RWops -> ShowS

show :: RWops -> String

showList :: [RWops] -> ShowS

Eq RWops Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: RWops -> RWops -> Bool

(/=) :: RWops -> RWops -> Bool

data Surface Source #

Constructors

Surface 

Fields

Instances

Instances details
Storable Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Surface -> Int

alignment :: Surface -> Int

peekElemOff :: Ptr Surface -> Int -> IO Surface

pokeElemOff :: Ptr Surface -> Int -> Surface -> IO ()

peekByteOff :: Ptr b -> Int -> IO Surface

pokeByteOff :: Ptr b -> Int -> Surface -> IO ()

peek :: Ptr Surface -> IO Surface

poke :: Ptr Surface -> Surface -> IO ()

Show Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Surface -> ShowS

show :: Surface -> String

showList :: [Surface] -> ShowS

Eq Surface Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Surface -> Surface -> Bool

(/=) :: Surface -> Surface -> Bool

data Version Source #

Constructors

Version 

Fields

Instances

Instances details
Storable Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

sizeOf :: Version -> Int

alignment :: Version -> Int

peekElemOff :: Ptr Version -> Int -> IO Version

pokeElemOff :: Ptr Version -> Int -> Version -> IO ()

peekByteOff :: Ptr b -> Int -> IO Version

pokeByteOff :: Ptr b -> Int -> Version -> IO ()

peek :: Ptr Version -> IO Version

poke :: Ptr Version -> Version -> IO ()

Show Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

showsPrec :: Int -> Version -> ShowS

show :: Version -> String

showList :: [Version] -> ShowS

Eq Version Source # 
Instance details

Defined in SDL.Raw.Types

Methods

(==) :: Version -> Version -> Bool

(/=) :: Version -> Version -> Bool