🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.os2.programmer
1 messages
1 total messages Started by David J. Marotta Fri, 26 Apr 1991 14:26
Odd shaped polygons (maps) in OS/2
#2578
Author: David J. Marotta
Date: Fri, 26 Apr 1991 14:26
9 lines
1065 bytes
I would like to put a map in an OS/2 window which would be a series of
oddly shaped polygons.  Then I would like to be able to trap mouse clicks
within a given country, having the countries act like oddly shaped buttons.

I don't know an easy way of trapping the mouse clicks and associating them
with the country.  Nor the best way to make the countries to accomplish
this task (especially when the boarder of one country is also the boarder
of its neighbor.  Any thoughts or example code?  This can't be a unique
problem!
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads