ยค RGB, Pixel, et al
Drawing: colors
Types
data RGB = RGB Int Int Int
instance Ix RGB
instance Eq RGB
instance Ord RGB
instance Read RGB
instance Show RGB
instance FromX RGB
instance Put RGB
instance XHB RGB RGB
instance ColorGen RGB
newtype Pixel = Pixel Word
instance Eq Pixel
instance Ord Pixel
instance Read Pixel
instance Show Pixel
instance FromX Pixel
instance Put Pixel
instance XHB Pixel Pixel
instance ColorGen Pixel
data Color = Color {colorPixel :: Pixel, colorRGB :: RGB}
instance Eq Color
instance Ord Color
instance Read Color
instance Show Color
instance XHB Color Color
maxRGB :: Int
blackRGB :: RGB
grayRGB :: Int -> RGB
whiteRGB :: RGB
pixel0 :: Pixel
pixel1 :: Pixel
Description
Type for colors, corresponding more or less directly to definitions found
in the Xlib library.
See Also
The Xlib Programming Manual
.