On 03.04.2013 22:54, Mike Werner wrote:
I want to be able to left click in an OpenGL window and have the mouse
coordinates in that window returned (i.e. relative to the upper left corner
of the window). Seems like I should be able to do this using Fl::event_x.
However it's turning out to
I want to be able to left click in an OpenGL window and have the mouse
coordinates in that window returned (i.e. relative to the upper left corner of
the window). Seems like I should be able to do this using Fl::event_x. However
it's turning out to be difficult. First of all the only way I can
The only idea I have now is to put a large button underneath the OGL window.
When I click inside the OGL window, this button will be activated and I'll
get an x cord. relative to the main FLTK window and have to subtract off the
upper left corner coordinates of the OGL window.
Actually,