Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!apple!greggor From: greggor@Apple.COM (Greg L. Anderson) Newsgroups: comp.sys.mac.hypercard Subject: Re: Misc Easy HC Questions Message-ID: <44719@apple.Apple.COM> Date: 12 Sep 90 03:06:51 GMT References: <11792@crdgw1.crd.ge.com> Organization: Apple Computer Inc., Cupertino, CA Lines: 17 In article <11792@crdgw1.crd.ge.com> leue@galen.crd.ge.com (Bill Leue) writes: >3. Has anyone come up with a clever way to simulate >arbitrarily-shaped buttons, a la Supercard? Again, I could >define polygonal regions and then do geometric tests on the >mouse position, but this seems on first glance to be slow >and complex to implement with any kind of generality. Yes, I've written polybutton XFCNs & the response time is quite good. I will be posting the code pretty soon. The main problem is that the buttons MUST be transparent. (If anyone knows how to invoke an XFCN on an update event, I want to hear about it!) -- ___\ /___ Greg Anderson ___\ /___ \ \ / / Advanced Technology Group \ \ / / \ /\/\ / Apple Computer, Inc. \ /\/\ / \/ \/ greggor@apple.com \/ \/