ยค Visual, DisplayClass

Types

data Visual = Visual {visualid :: VisualID,
                      visualClass :: DisplayClass,
                      red_mask :: Word,
                      green_mask :: Word,
                      blue_mask :: Word,
                      bits_per_rgb :: Int,
                      map_entries :: Int}
instance Read Visual
instance Show Visual

data DisplayClass = StaticGray | GrayScale | StaticColor | PseudoColor | TrueColor | DirectColor
instance Bounded DisplayClass
instance Enum DisplayClass
instance Eq DisplayClass
instance Read DisplayClass
instance Show DisplayClass

See Also

See XVisualInfo and visual types in the Xlib Programming Manual .