queryColor :: FudgetIO f => ColormapId -> Pixel -> (Color -> f hi ho) -> f hi 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 hi ho
queryColorF
)
parameterized by the returned color.
XQueryColor
in the Xlib Programming Manual
.