queryColor :: (FudgetIO c) => ColormapId -> Pixel -> (Color -> c a b) -> c a b queryColorF :: ColormapId -> Pixel -> Cont (F a b) Color
queryColor colormap pixel colkernel
data Color = Color { colorPixel :: Pixel, colorRGB :: RGB }
data Pixel = Pixel Int
colormap :: ColormapId
pixel :: Pixel
colkernel :: Color -> c a b
queryColorF
)
parameterized by the returned color.
XQueryColor
in the Xlib Programming Manual
.