Changed Rect('s to Rectangle('s

This commit is contained in:
Don BURNS
2003-04-16 21:16:23 +00:00
parent 0b0c6c4e60
commit 6fc19084ac
4 changed files with 20 additions and 18 deletions

View File

@@ -27,7 +27,7 @@ public:
int x,y;
unsigned int width,height;
camera.getProjectionRect(x,y,width,height);
camera.getProjectionRectangle(x,y,width,height);
osg::ref_ptr<osg::Image> image = new osg::Image;
image->readPixels(x,y,width,height,
@@ -134,7 +134,7 @@ void ViewerEventHandler::StatsAndHelpDrawCallback::operator()( const Producer::C
int x,y;
unsigned int width,height;
camera.getProjectionRect(x,y,width,height);
camera.getProjectionRectangle(x,y,width,height);
_viewport->setViewport(x,y,width,height);
OsgSceneHandler* osh = _veh->getOsgCameraGroup()->getSceneHandlerList()[_cameraNumber].get();
@@ -785,7 +785,7 @@ bool ViewerEventHandler::handle(const osgGA::GUIEventAdapter& ea,osgGA::GUIActio
if (_firstTimeTogglingFullScreen && rs->isFullScreen())
{
rs->setWindowRect(240,220,800,600);
rs->setWindowRectangle(240,220,800,600);
rs->useBorder(true);
}
else