[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: color graphics in MCL
- To: info-mcl@cambridge.apple.com
- Subject: Re: color graphics in MCL
- From: push@mit.edu (Pushpinder Singh)
- Date: Thu, 29 Sep 1994 10:48:54 -0400
- Organization: MIT
- References: <gi01-260994183208@ibamac.gte.com>
- Sender: owner-info-mcl@cambridge.apple.com
In article <gi01-260994183208@ibamac.gte.com>, gi01@gte.com (Glenn Iba) wrote:
> (setf mywin (make-instance 'window :window-title "mywin"))
>
> (with-focused-view mywin
> (with-fore-color *orange-color*
> (paint-rect mywin 0 0 120 120)))
>
> The result looks identical if I use *red-color* instead of *orange-color*.
>
> Glenn
Open your window this way instead:
(setf mywin (make-instance 'window :window-title "mywin"
:color-p t))
The slot color-p needs to be true if you want to use more than just the
primary colors (don't ask me why...) Now orange should look like orange.
-push