Show
Ignore:
Timestamp:
05/28/10 17:56:43 (5 years ago)
Author:
robert
Message:

conversion of osg::notify to OSG_INFO etc.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowCocoa.mm

    r11289 r11476  
    924924     
    925925 
    926     osg::notify(osg::DEBUG_INFO) << "GraphicsWindowCocoa::realizeImplementation / ownsWindow: " << _ownsWindow << " checkForEvents: " << _checkForEvents << std::endl; 
     926    OSG_DEBUG << "GraphicsWindowCocoa::realizeImplementation / ownsWindow: " << _ownsWindow << " checkForEvents: " << _checkForEvents << std::endl; 
    927927 
    928928    if (_ownsWindow)  
     
    931931         
    932932        if (!_window) { 
    933             osg::notify(osg::WARN) << "GraphicsWindowCocoa::realizeImplementation :: could not create window" << std::endl; 
     933            OSG_WARN << "GraphicsWindowCocoa::realizeImplementation :: could not create window" << std::endl; 
    934934            return false; 
    935935        } 
     
    984984     
    985985    if (!_context) { 
    986         osg::notify(osg::WARN) << "GraphicsWindowCocoa::realizeImplementation :: could not create context" << std::endl; 
     986        OSG_WARN << "GraphicsWindowCocoa::realizeImplementation :: could not create context" << std::endl; 
    987987        return false; 
    988988    } 
     
    992992    [theView setOpenGLContext:_context]; 
    993993    _view = theView; 
    994     osg::notify(osg::DEBUG_INFO) << "GraphicsWindowCocoa::realizeImplementation / view: " << theView << std::endl; 
     994    OSG_DEBUG << "GraphicsWindowCocoa::realizeImplementation / view: " << theView << std::endl; 
    995995 
    996996    if (_ownsWindow) { 
     
    11951195void GraphicsWindowCocoa::grabFocusIfPointerInWindow() 
    11961196{ 
    1197     osg::notify(osg::INFO) << "GraphicsWindowCocoa :: grabFocusIfPointerInWindow not implemented yet " << std::endl; 
     1197    OSG_INFO << "GraphicsWindowCocoa :: grabFocusIfPointerInWindow not implemented yet " << std::endl; 
    11981198} 
    11991199 
     
    13011301    DarwinWindowingSystemInterface* wsi = dynamic_cast<DarwinWindowingSystemInterface*>(osg::GraphicsContext::getWindowingSystemInterface()); 
    13021302    if (wsi == NULL) { 
    1303         osg::notify(osg::WARN) << "GraphicsWindowCarbon::useCursor :: could not get OSXCarbonWindowingSystemInterface" << std::endl; 
     1303        OSG_WARN << "GraphicsWindowCarbon::useCursor :: could not get OSXCarbonWindowingSystemInterface" << std::endl; 
    13041304        return; 
    13051305    } 
     
    13171317    } 
    13181318    if (err != kCGErrorSuccess) { 
    1319         osg::notify(osg::WARN) << "GraphicsWindowCocoa::useCursor failed with " << err << std::endl; 
     1319        OSG_WARN << "GraphicsWindowCocoa::useCursor failed with " << err << std::endl; 
    13201320    } 
    13211321} 
     
    13501350         
    13511351        default: 
    1352             osg::notify(osg::INFO) << "GraphicsWindowCocoa::setCursor :: unsupported MouseCursor: " << mouseCursor << std::endl;     
     1352            OSG_INFO << "GraphicsWindowCocoa::setCursor :: unsupported MouseCursor: " << mouseCursor << std::endl;     
    13531353    } 
    13541354     
     
    14001400        s_inited = true; 
    14011401         
    1402         osg::notify(osg::INFO) << "CocoaWindowingSystemInterface::initAsStandaloneApplication " << std::endl; 
     1402        OSG_INFO << "CocoaWindowingSystemInterface::initAsStandaloneApplication " << std::endl; 
    14031403         
    14041404        ProcessSerialNumber psn;