changeBackPixmap :: ColorName -> ColorName -> Size -> [DrawCommand] -> K a b -> K a b greyBgK :: K a b -> K a b lightGreyBgK :: K a b -> K a b darkGreyBgK :: K a b -> K a b
changeBackPixmap fgcolor bgcolor size drawcmds
changeBackPixmap
creates a fudget kernel that changes the background pixmap of the
controlled window and then behaves like the argument fudget kernel.
greyBgK
, lightGreyBgK
and darkGreyBgK
are shorthands
for some grey backgrounds. Solid grey colors are used if possible. Otherwise
a dithered black and white pattern is used.
fgcolor :: ColorName
bgcolor :: ColorName
size :: Size
drawcmds :: [DrawCommand]
changeBackPixmap
first creates a pixmap of the given size. The pixmap is filled
with the given background color. Then the drawing commands are executed
in the pixmap, using a GC with backround and foreground colors set
appropriately and with default values for all other attributes.