Path: utzoo!mnetor!tmsoft!torsqnt!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!caen!ox.com!tbomb!time Newsgroups: comp.sys.mac.programmer Subject: Re: ICONs as buttons in a dialog. Message-ID: <1CE00001.0876hq@tbomb.ice.com> Date: 16 Feb 91 10:49:50 GMT Reply-To: time@ice.com Organization: ICE Engineering, Inc. Lines: 21 X-Mailer: uAccess - Mac Release: 1.0.5+ In article <1991Feb16.002121.7836@umiami.ir.miami.edu>, dweisman@umiami.ir.miami.edu (Ordinary Man) writes: > Why not just do an InvertRect on the icon's rect. After all, inverting a rect > works as a toggle. Wouldn't this be acceptable? > Try inverting the rectangle of an icon using only an area of 8x8 pixels! Looks like shit don't it! The icon mask is used by most Macintosh applications specifically to make the inversion "look right". Besides, with the code right there, why do anything less? Everyhing depends on how well you want your interface to look. I do not advocate less-than-Mac standards in Macintosh programs. tim. ------------------------------------------------------------- Tim Endres | time@ice.com ICE Engineering | uupsi!ice.com!time 8840 Main Street | Voice FAX Whitmore Lake MI. 48189 | (313) 449 8288 (313) 449 9208