changeBackPixmap :: (ColorGen a1, ColorGen a2, Show a1, Show a2) => a1 -> a2 -> Point -> [DrawCommand] -> K i o -> K i o greyBgK :: K b ho -> K b ho lightGreyBgK :: K b ho -> K b ho darkGreyBgK :: K b ho -> K b ho
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 :: a1
bgcolor :: a2
size :: Point
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.