[osg-users] osgViewer::GraphicsWindow::getWindowRectangle() results

2011-11-28 Thread Thomas Lerman
I had developed some Qt code on Windows that worked great. When I compiled it on Linux, I noticed some oddities. The most interesting one is that: osgViewer::GraphicsWindow::getWindowRectangle() returns an absolute window position in Windows (x != y != 0) whereas it seems to be

Re: [osg-users] osgViewer::GraphicsWindow::getWindowRectangle() results

2011-11-28 Thread Jean-Sébastien Guay
Hi Thomas, I had developed some Qt code on Windows that worked great. When I compiled it on Linux, I noticed some oddities. The most interesting one is that: osgViewer::GraphicsWindow::getWindowRectangle() returns an absolute window position in Windows (x != y != 0) whereas it

Re: [osg-users] osgViewer::GraphicsWindow::getWindowRectangle() results

2011-11-28 Thread Thomas Lerman
Thank you for your reply. I actually got around this by getting the central widget's (Qt) window rectangle instead of using the graphic window's rectangle. I agree that this seems like an inconsistency that would be nice to take care of. Incidentally, I took a quick look and did not see a