>>>>> "Adam" == aking <[EMAIL PROTECTED]> writes:
Adam> I'm using the JAWT from 1.3 to do some native drawing.
Adam> Under windows, getting the handle to the window is easy:
Adam> dsi_win32 = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
Adam> glHDC = dsi_win32->hdc;
Adam> glHWnd = dsi_win32->hwnd;
Adam> I'm also working on a Linux version, however, I need the
Adam> Window reference that the Canvas is attached too. The
Adam> 'JAWT_X11DrawingSurfaceInfo' structure doesn't appear to
Adam> include this info - just the Drawable and Display. Is there
Adam> another way to retrieve the Window reference?
The Drawable in jawt_X11DrawingSurfaceInfo is a Window.
Juergen
--
Juergen Kreileder, Blackdown Java-Linux Team
http://www.blackdown.org/java-linux.html
JVM'01: http://www.usenix.org/events/jvm01/
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]