Newsgroups: comp.lang.lisp.x,comp.lang.lisp
Path: cantaloupe.srv.cs.cmu.edu!bb3.andrew.cmu.edu!nntp.sei.cmu.edu!news.psc.edu!scramble.lm.com!news.math.psu.edu!chi-news.cic.net!nntp.coast.net!news.kei.com!newsfeed.internetmci.com!portal.gmu.edu!hearst.acc.Virginia.EDU!murdoch!pitman.stat.Virginia.EDU!my2x
From: my2x@pitman.stat.Virginia.EDU (Timothy Yi)
Subject: drawing color box
X-Nntp-Posting-Host: pitman.stat.virginia.edu
Message-ID: <DMqIvH.JJL@murdoch.acc.Virginia.EDU>
Sender: usenet@murdoch.acc.Virginia.EDU
Organization: The University of Virginia
Date: Tue, 13 Feb 1996 22:09:17 GMT
Lines: 18
Xref: glinda.oz.cs.cmu.edu comp.lang.lisp.x:1721 comp.lang.lisp:20833


I am using sun common lisp 4.0 to draw a box (colored) in window.
eventually, i will draw a grey scale image in x-window.

i use
(load "windows-x")
(initialize-window :height 100 :width 100)
(make-window :x 10 :y 10 :width 20 :height 30 :foreground :150)

where 150 is color code ranges from 0 to 255.

but i am not getting color box as the demo program does.
what have i done wrong?  i don't have lisp manual.

thanks in advance.

-tim

