JAWT_MacOSXDrawingSurfaceInfo question

M

Mathieu Malaterre

Hello,

I am trying to compile some code using java 1.4.2 on MacOSX. And there
seems to have been some internals change:

Before I used to have in my code:

//for carbon:
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
dsi_mac->carbonWindowRef

//For cocoa:
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
dsi_mac->cocoaWindowRef

Apparently with Cocoa this is now::
JAWT_MacOSXDrawingSurfaceInfo* dsi_mac;
dsi_mac = (JAWT_MacOSXDrawingSurfaceInfo*)dsi->platformInfo;
dsi_mac->cocoaViewRef

But I can't find anything for carbon. Does anyone knows what happen to
carbonWindowRef ?

Also does any know if there are some macros to use so that I can #ifdef
my code depending on Java version ?

Thanks
Mathieu
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,682
Members
48,796
Latest member
Greg L.

Latest Threads

Top