Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!sdd.hp.com!wuarchive!mit-eddie!uw-beaver!uw-june!dylan From: dylan@cs.washington.edu (Dylan McNamee) Newsgroups: comp.sys.amiga.programmer Subject: Multiple Proportional Gadg's in one "container" Message-ID: <15187@june.cs.washington.edu> Date: 23 Feb 91 04:31:33 GMT Reply-To: dylan@june.cs.washington.edu (Dylan McNamee) Organization: University of Washington, Computer Science, Seattle Lines: 28 I am writing a DTP program that has a set of drafting tools. Since it is built on top of Post, I use PostScript objects. Once an object is on the screen, I want to be able to select it, and have a set of proportional gadgets show up for the object (the endpoints of a line, or the control points of a bezier, etc.) to allow the user to manipulate the object. Proportional gadgets live in a container, and in this case, I want the container to be the whole window, and for there to be possibly many prop gadgets. The problem is that Intuition seems to assume there is one prop gadget per container, because if you click anywhere in the container, the gadget moves toward the click by a single increment. This makes no sense if there are a ton of gadgets in the same container. (I refer to Libs & Devices p. 84) My question is, can I use Proportional gadgets for what I want to do? If so, how do I get around this container problem? If not, how should I solve this problem? (I assumed this was a tailor made application for prop gadgets!) I see "hacking" up a stationary set of gadgets, and using followmouse as a possibility, but a gross one. Any ideas? thanks, dylan -- dylan mcnamee / "Ten Years After WWIV...there wasn't much to do; dylan@cs.washington.edu \/all the bowling alleys were wrecked, so I spent most of my time looking for beer" from Strange Brew