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