Hi all.

I would like to get the window reference for all platforms using
osgViewer::Viewer.

I found the thread:

http://www.mail-archive.com/[email protected]/msg12957.html

Where I used this code for win32:

<http://www.mail-archive.com/[email protected]/msg12957.html>
osgViewer::GraphicsWindowWin32* gw =
    dynamic_cast<osgViewer::GraphicsWindowWin32*> (
    application->getViewer()->getCamera()->getGraphicsContext());


HWND hWnd = gw->getHWND();


But I cant find a way to get that under X11, (MacOS, Cocoo or whatever).
Is there a "portable" way of getting this reference?

/A
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to