Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!tronsbox!tron1 From: tron1@tronsbox.xei.com (Kenneth Jamieson) Newsgroups: comp.windows.x Subject: Optimal object detection.... Message-ID: <618@tronsbox.xei.com> Date: 9 Jan 91 14:45:29 GMT Organization: Romantic Encounters BBS Lines: 23 I want to put up a series of objects under X that may be either bitmaps or filled polygons. They all need to be the same color and get highlighted as they are selected. Now, the question is, what is the BEST way to get X to tell me WHAT "icon" was picked ?? I can: 1) Check mouse co-ords against the display list (ugly) 2) Associate a "region" under each object (is this right?) Are there other ways ? -- ========[ Xanadu Enterprises Inc. Amiga & Unix Software Development]======= = "I hate you, take your things and get out of this house!!!!!" = = (pause) - "Hold me!" ( same girl, elapsed time 6.5 seconds) = =========== Ken Jamieson: uunet!tronsbox.xei.com!tron1 =================== = NONE of the opinions represented here are endorsed by anybody. = === The Romantic Encounters BBS 201-759-8450(PEP) / 201-759-8568(2400) ====