SDL-0.6.6.0: Binding to libSDL

Copyright(c) David Himmelstrup 2005
LicenseBSD-like
Maintainerlemmih@gmail.com
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell98

Graphics.UI.SDL.Color

Description

 

Documentation

data Color Source #

Constructors

Color 

Instances

newtype Pixel Source #

Constructors

Pixel Word32 

Instances

Eq Pixel Source # 

Methods

(==) :: Pixel -> Pixel -> Bool #

(/=) :: Pixel -> Pixel -> Bool #

Ord Pixel Source # 

Methods

compare :: Pixel -> Pixel -> Ordering #

(<) :: Pixel -> Pixel -> Bool #

(<=) :: Pixel -> Pixel -> Bool #

(>) :: Pixel -> Pixel -> Bool #

(>=) :: Pixel -> Pixel -> Bool #

max :: Pixel -> Pixel -> Pixel #

min :: Pixel -> Pixel -> Pixel #

Show Pixel Source # 

Methods

showsPrec :: Int -> Pixel -> ShowS #

show :: Pixel -> String #

showList :: [Pixel] -> ShowS #

Storable Pixel Source # 

Methods

sizeOf :: Pixel -> Int #

alignment :: Pixel -> Int #

peekElemOff :: Ptr Pixel -> Int -> IO Pixel #

pokeElemOff :: Ptr Pixel -> Int -> Pixel -> IO () #

peekByteOff :: Ptr b -> Int -> IO Pixel #

pokeByteOff :: Ptr b -> Int -> Pixel -> IO () #

peek :: Ptr Pixel -> IO Pixel #

poke :: Ptr Pixel -> Pixel -> IO () #