Moved the implementation of GraphicsWindowX11 from the head into the src/osgViewer directory.

This commit is contained in:
Robert Osfield
2006-12-21 12:19:14 +00:00
parent 7772da71eb
commit a56d273fe3
4 changed files with 698 additions and 687 deletions

View File

@@ -25,7 +25,6 @@
#if !defined(_WIN32)
#include <osgViewer/GraphicsWindowX11>
#include <osgViewer/Viewer>
#include <osgGA/TrackballManipulator>
@@ -35,19 +34,6 @@ void renderCamera(osg::Camera* camera)
osg::GraphicsContext* gc = camera->getGraphicsContext();
if (!gc) return;
#if 0
osgViewer::GraphicsWindowX11* gwX11 = dynamic_cast<osgViewer::GraphicsWindowX11*>(gc);
if (gwX11)
{
gwX11->checkEvents();
osgGA::EventQueue::Events events;
if (gwX11->getEventQueue()->takeEvents(events))
{
}
}
#endif
osgUtil::SceneView* sceneView = dynamic_cast<osgUtil::SceneView*>(camera->getRenderingCache(0));
if (!sceneView) return;