Path: utzoo!utgpu!news-server.csri.toronto.edu!bonnie.concordia.ca!uunet!cs.utexas.edu!asuvax!stjhmc!p12.f56.n114.z1.fidonet.org!Chris.Gehlker From: Chris.Gehlker@p12.f56.n114.z1.fidonet.org (Chris Gehlker) Newsgroups: comp.sys.mac.programmer Subject: Re: How does one get the quickdraw global gray in an MDEF? Message-ID: <35298.2796FBD3@stjhmc.fidonet.org> Date: 18 Jan 91 00:26:29 GMT Sender: ufgate@stjhmc.fidonet.org (newsout1.26) Organization: FidoNet node 1:114/56.12 - AZ MAC UG, Phoenix AZ Lines: 12 >I am using Think Pascal. Plus I'm writing a MDEF. If I wanted to set >the PenPat to gray. How would I get access to the quickdraw global gray? > BH> Either get to the QuickDraw globals by offsetting from A5 or BH> using GetIndPattern from the system pattern list... If you just want Grey, it's probably just as easy to create it on the fly with StuffHex. -- Uucp: ...{gatech,ames,rutgers}!ncar!asuvax!stjhmc!56.12!Chris.Gehlker Internet: Chris.Gehlker@p12.f56.n114.z1.fidonet.org