X11-1.6.0.2: A binding to the X11 graphics library

Portabilityportable
Stabilityprovisional
Maintainerlibraries@haskell.org
Safe HaskellNone

Graphics.X11.Xlib.Color

Description

A collection of FFI declarations for interfacing with Xlib Colors.

Synopsis

Documentation

lookupColor :: Display -> Colormap -> String -> IO (Color, Color)Source

interface to the X11 library function XLookupColor().

allocNamedColor :: Display -> Colormap -> String -> IO (Color, Color)Source

interface to the X11 library function XAllocNamedColor().

allocColor :: Display -> Colormap -> Color -> IO ColorSource

interface to the X11 library function XAllocColor().

parseColor :: Display -> Colormap -> String -> IO ColorSource

interface to the X11 library function XParseColor().

freeColors :: Display -> Colormap -> [Pixel] -> Pixel -> IO ()Source

interface to the X11 library function XFreeColors().

storeColor :: Display -> Colormap -> Color -> IO ()Source

interface to the X11 library function XStoreColor().

queryColor :: Display -> Colormap -> Color -> IO ColorSource

interface to the X11 library function XQueryColor().

queryColors :: Display -> Colormap -> [Color] -> IO [Color]Source

interface to the X11 library function XQueryColors().

installColormap :: Display -> Colormap -> IO ()Source

interface to the X11 library function XInstallColormap().

uninstallColormap :: Display -> Colormap -> IO ()Source

interface to the X11 library function XUninstallColormap().

copyColormapAndFree :: Display -> Colormap -> IO ColormapSource

interface to the X11 library function XCopyColormapAndFree().

createColormap :: Display -> Window -> Visual -> ColormapAlloc -> IO ColormapSource

interface to the X11 library function XCreateColormap().

freeColormap :: Display -> Colormap -> IO ()Source

interface to the X11 library function XFreeColormap().