On Fri, Nov 17, 2000 at 02:32:38PM -0500, [EMAIL PROTECTED] wrote:
> I'm using the JAWT from 1.3 to do some native drawing. Under windows,
> getting the handle to the window is easy:
>
> dsi_win32 = (JAWT_Win32DrawingSurfaceInfo*)dsi->platformInfo;
> glHDC = dsi_win32->hdc;
> glHWnd = dsi_win32->hwnd;
>
> I'm also working on a Linux version, however, I need the Window reference
> that the Canvas is attached too. The 'JAWT_X11DrawingSurfaceInfo'
> structure doesn't appear to include this info - just the Drawable and
> Display. Is there another way to retrieve the Window reference?
In X, a Drawable is a Window or a Pixmap - my guess is you've got
your reference.
Nathan
>
> Adam
>
> P.S. BTW, I've tried both Sun's and IBMs JDK 1.3 and neither of their
> JAWTs seem to work with the demo code. But Blackdown's JDK1.3 works
> great! Thanks!
>
>
> ----------------------------------------------------------------------
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]