home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!cs.utexas.edu!sun-barr!ames!data.nas.nasa.gov!taligent!apple!cambridge.apple.com!straz@cambridge.apple.com
- From: straz@cambridge.apple.com (Steve Strassmann)
- Newsgroups: comp.lang.lisp.mcl
- Subject: Basic color use in MCL
- Message-ID: <9211231650.AA28371@cambridge.apple.com>
- Date: 23 Nov 92 16:51:37 GMT
- Sender: info-mcl-request@cambridge.apple.com
- Lines: 23
- Approved: comp.lang.lisp.mcl@Cambridge.Apple.C0M
-
- >From: waander@cs.umd.edu (Bill Andersen)
- >Newsgroups: comp.lang.lisp.mcl
- >Subject: Basic color use in MCL
- >Date: 22 Nov 92 08:59:04 GMT
- >Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
- >
- > But the string just gets drawn in the default foreground
- >color of the outermost window. What's the deal? Could someone
- >supply some examples of how to do stuff with colors?? Maybe
- >post it to the archive????
-
- One possibility is that you forgot to specify :COLOR-P T when you created
- the window. (I know, I know, I get burned by this myself a lot too. We'll
- change the default for :COLOR-P from nil to t in a future release).
-
- You can make sure this doesn't happen by adding this to your window's defclass:
-
- (defclass my-window (window)
- (... other slots ...)
- (:default-initargs :color-p t))
-
- I've written a pretty simple example file, available in our user library
- as cambridge.apple.com:/pub/MCL2/contrib/window-example.lisp.
-