X11 Libraries (X11 package)Source codeContentsIndex
Graphics.X11.Xlib.Color
Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Description
A collection of FFI declarations for interfacing with Xlib Colors.
Synopsis
lookupColor :: Display -> Colormap -> String -> IO (Color, Color)
allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)
allocColor :: Display -> Colormap -> Color -> IO Color
parseColor :: Display -> Colormap -> String -> IO Color
freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()
storeColor :: Display -> Colormap -> Color -> IO ()
queryColor :: Display -> Colormap -> Color -> IO Color
queryColors :: Display -> Colormap -> [Color] -> IO [Color]
installColormap :: Display -> Colormap -> IO ()
uninstallColormap :: Display -> Colormap -> IO ()
copyColormapAndFree :: Display -> Colormap -> IO Colormap
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap
freeColormap :: Display -> Colormap -> IO ()
Documentation
lookupColor :: Display -> Colormap -> String -> IO (Color, Color)
interface to the X11 library function XLookupColor().
allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)
interface to the X11 library function XAllocNamedColor().
allocColor :: Display -> Colormap -> Color -> IO Color
interface to the X11 library function XAllocColor().
parseColor :: Display -> Colormap -> String -> IO Color
interface to the X11 library function XParseColor().
freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()
interface to the X11 library function XFreeColors().
storeColor :: Display -> Colormap -> Color -> IO ()
interface to the X11 library function XStoreColor().
queryColor :: Display -> Colormap -> Color -> IO Color
interface to the X11 library function XQueryColor().
queryColors :: Display -> Colormap -> [Color] -> IO [Color]
interface to the X11 library function XQueryColors().
installColormap :: Display -> Colormap -> IO ()
interface to the X11 library function XInstallColormap().
uninstallColormap :: Display -> Colormap -> IO ()
interface to the X11 library function XUninstallColormap().
copyColormapAndFree :: Display -> Colormap -> IO Colormap
interface to the X11 library function XCopyColormapAndFree().
createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO Colormap
interface to the X11 library function XCreateColormap().
freeColormap :: Display -> Colormap -> IO ()
interface to the X11 library function XFreeColormap().
Produced by Haddock version 0.8