[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Color subviews?



What is the best way to make the background color of a subview different from
the background color of its containing window?  It seems that just drawing a
rectangle that fills the view is not sufficient -- you need to set the
color that the window will use to erase regions.  This is independent of the
"foreground color" and the "background color" that are used for regular
drawing.

Calling ccl:set-part-color instantly changes the background of the entire
window, regardless of the subview background colors.  Maybe a combination of
these two ideas is necessary?  Thanks,

--Andrew Mickish