Show
Ignore:
Timestamp:
12/21/06 13:19:14 (7 years ago)
Author:
robert
Message:

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

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgcamera/osgcamera.cpp

    r5832 r5836  
    2626#if !defined(_WIN32) 
    2727 
    28 #include <osgViewer/GraphicsWindowX11> 
    2928#include <osgViewer/Viewer> 
    3029 
     
    3534    osg::GraphicsContext* gc = camera->getGraphicsContext(); 
    3635    if (!gc) return; 
    37      
    38 #if 0     
    39     osgViewer::GraphicsWindowX11* gwX11 =  dynamic_cast<osgViewer::GraphicsWindowX11*>(gc); 
    40     if (gwX11) 
    41     { 
    42         gwX11->checkEvents(); 
    43  
    44         osgGA::EventQueue::Events events; 
    45         if (gwX11->getEventQueue()->takeEvents(events)) 
    46         { 
    47         } 
    48     } 
    49 #endif 
    5036     
    5137    osgUtil::SceneView* sceneView = dynamic_cast<osgUtil::SceneView*>(camera->getRenderingCache(0));