Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!dsinc!bagate!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.programmer Subject: Re: 2.0 Screens Message-ID: <20514@cbmvax.commodore.com> Date: 10 Apr 91 14:34:24 GMT References: <4558@orbit.cts.com> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore-Amiga, Inc. West Chester, PA. Lines: 23 In article <4558@orbit.cts.com> chucks@pnet51.orb.mn.org (Erik Funkenbusch) writes: >Actually, i had figured this out, my only problem now is that i can't get the >text in the window bar to render into any pen but pen 0, this is anoying. >i've tried every pen in every index position there is. and it always renders >the window bar text in color 0. also, the dark portion of 3d gadgets always >renders in color 0.. it's starting to annoy me. it has to be something with >the screen since when i open the window on a workbench screen it works fine. I've tried to email you the answer, but the mail keeps bouncing. pnet51 has no idea who you are :-(. Anyways, here's the answer: You've pointed your SA_Pens at an array of ULONGs, but it's supposed to point to an array of UWORDs. Every second pen will come out zero, the way you have it. >INET: chucks@pnet51.orb.mn.org Peter -- Peter Cherna, Operating Systems Development Group, Commodore-Amiga, Inc. {uunet|rutgers}!cbmvax!peter peter@cbmvax.commodore.com My opinions do not necessarily represent the opinions of my employer. "If all you have is a hammer, everything looks like a nail."