Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!rutgers!cbmvax!peter From: peter@cbmvax.commodore.com (Peter Cherna) Newsgroups: comp.sys.amiga.programmer Subject: Re: Clicking on irregular shapes? Message-ID: <20181@cbmvax.commodore.com> Date: 28 Mar 91 15:39:05 GMT References: <1991Mar27.212214.6204@orfeo.radig.de> <2710@sirius.ucs.adelaide.edu.au> Reply-To: peter@cbmvax.commodore.com (Peter Cherna) Organization: Commodore, West Chester, PA Lines: 34 In article <2710@sirius.ucs.adelaide.edu.au> jpotter@ucs.adelaide.edu.au (Jonathan Potter) writes: >For a BOOLGADGET, specify SpecialInfo as pointing to a BoolInfo >structure, and fill in the Mask variable in the BoolInfo structure. This allows >you to specify a mask that details the shape for selecting/unselecting of the >gadget. That works, provided that the rectangular extents of the gadget overlap. In other words, using masked boolean gadgets, you can do this: _______ _______ | \ \ | | \ \ | | \ \ | | / / | | / / | |_______/ /_______| But not this: _______ _______ | \\ | | \\ | | \\ | | // | | // | |_______//_______| >| Jonathan Potter | | Life is like a piece of | 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."