|
What you are asking is to study the CMU libraries. The help file doesn't seem to provide all the info. But if the doc is complete then the CMU lib doesn't support "buttons". Only shapes.
Give the link to the CMU libs. I'll take a quick peek at it.
But the GetMouseCoord() method is clear. Compare if GetMouseCoord(x,y) falls within your button specs.
Next step is to fool with GetButtonState() and GetMouseClick().
Like I said, I don't know the details of the CMU lib.
Just provide the link so I can take a peek or try to solve it your self with this info.
- Val -
|