Ah, ok then. I was not browsing the source, just the built/installed stuff, on a win32 machine, which meant I only had the win32 version.
Ok then. Thanks. /A On Thu, Jan 6, 2011 at 10:30 PM, Jean-Sébastien Guay < [email protected]> wrote: > Hi Anders, > > > Sure, which is what I did for Win32. >> But to what should I cast it in other cases? X11? There is only two >> relevant classes there: GraphicsWindow and GraphicsWindowWin32... >> I would have expected something like GraphicsWindowX11? >> > > If you are looking at the include dir of an installed OSG, you will only > have the header(s) relevant to the platform it's installed on. In the OSG > source tree, in the include/osgViewer directory, you'll see > GraphicsWindowWin32, GraphicsWindowX11, GraphicsWindowCarbon, > GraphicsWindowCocoa, etc. > > You'll have to guard inclusion of these headers to make sure you only > include them on the right platform. > > Hope this helps, > > J-S > -- > ______________________________________________________ > Jean-Sebastien Guay [email protected] > http://www.cm-labs.com/ > http://whitestar02.webhop.org/ > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org >
_______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

