[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Infinite Update Cycles -- COLOR!
- To: Andrew Newell Mickish <am2q+@andrew.cmu.edu>, info-mcl@ministry.cambridge.apple.com
- Subject: Re: Infinite Update Cycles -- COLOR!
- From: bill@cambridge.apple.com (Bill St. Clair)
- Date: Thu, 6 Jan 1994 16:31:42 -0600
At 2:49 PM 1/6/94 -0500, Andrew Newell Mickish wrote:
>I have isolated my infinite loop problem to the calls ccl:set-fore-color
>and ccl:set-back-color which are called by my view-draw-contents method.
>
>Calling these functions from inside the method apparently triggers the
>event which calls the method again, and so on.
>
>So how am I supposed to draw many objects, all of different colors, with
>one invocation of the view-draw-contents method? Color does not seem to
>be a property of the pen, like the pattern is.
I believe you want to set the foreground color, not the background
color.