- Timestamp:
- 05/28/10 17:56:43 (3 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/src/osgViewer/GraphicsWindowCocoa.mm
r11289 r11476 924 924 925 925 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; 927 927 928 928 if (_ownsWindow) … … 931 931 932 932 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; 934 934 return false; 935 935 } … … 984 984 985 985 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; 987 987 return false; 988 988 } … … 992 992 [theView setOpenGLContext:_context]; 993 993 _view = theView; 994 osg::notify(osg::DEBUG_INFO)<< "GraphicsWindowCocoa::realizeImplementation / view: " << theView << std::endl;994 OSG_DEBUG << "GraphicsWindowCocoa::realizeImplementation / view: " << theView << std::endl; 995 995 996 996 if (_ownsWindow) { … … 1195 1195 void GraphicsWindowCocoa::grabFocusIfPointerInWindow() 1196 1196 { 1197 osg::notify(osg::INFO)<< "GraphicsWindowCocoa :: grabFocusIfPointerInWindow not implemented yet " << std::endl;1197 OSG_INFO << "GraphicsWindowCocoa :: grabFocusIfPointerInWindow not implemented yet " << std::endl; 1198 1198 } 1199 1199 … … 1301 1301 DarwinWindowingSystemInterface* wsi = dynamic_cast<DarwinWindowingSystemInterface*>(osg::GraphicsContext::getWindowingSystemInterface()); 1302 1302 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; 1304 1304 return; 1305 1305 } … … 1317 1317 } 1318 1318 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; 1320 1320 } 1321 1321 } … … 1350 1350 1351 1351 default: 1352 osg::notify(osg::INFO)<< "GraphicsWindowCocoa::setCursor :: unsupported MouseCursor: " << mouseCursor << std::endl;1352 OSG_INFO << "GraphicsWindowCocoa::setCursor :: unsupported MouseCursor: " << mouseCursor << std::endl; 1353 1353 } 1354 1354 … … 1400 1400 s_inited = true; 1401 1401 1402 osg::notify(osg::INFO)<< "CocoaWindowingSystemInterface::initAsStandaloneApplication " << std::endl;1402 OSG_INFO << "CocoaWindowingSystemInterface::initAsStandaloneApplication " << std::endl; 1403 1403 1404 1404 ProcessSerialNumber psn;
