XForms: Screen Coordinates for a OpenGL canvas

Cheng Tan (cptan@leland.Stanford.EDU)
Fri, 20 Jun 1997 15:23:18 -0700 (PDT)

To subscribers of the xforms list from Cheng Tan <cptan@leland.Stanford.EDU> :

I built a GUI that has a canvas for rendering OpenGL based graphics (and it
works fine). I would like to be able to obtain the screen coordinates of a
point (on the canvas) where the mouse button is clicked. Please let me know
if you have any good suggestion or know any routine that would handle this
task.

I am using : xform library version 0.86.
solaris 2.5.1
OpenGL library from SUN for ULTRA1 machine.

Thank you in advance.

Cheng Tan

_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuf2.usuhs.mil or see
http://bob.usuf2.usuhs.mil/mailserv/xforms.html
Xforms Home Page: http://bragg.phys.uwm.edu/xforms
List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/