OpenSceneGraph/include/osgViewer
Robert Osfield 08a793eb87 From Stephan Huber and Robert Osfield,
Stephan: "attached you'll find some modifications to the GraphicsWindow-class and
their platform-dependant implementations.

The problem:
setWindowRectangle and setWindowDecoration do not update the
traits-object, so, if you call setWindowRectangle on a
not-realized-window it will open with another size when realized later.
getWindowRectangle reports possible wrong sizes if setWindowRectangle
called before.

My solution:
split the implementation in two parts:
GraphicsWindow::setWindowRectangle will update its traits-object and
call afterwards the virtual method setWindowRectangleImplementation
(which is implemented by the derived platformspecific classess). For
setWindowDecoration I am useing a similar mechanism.

I hope you'll find the submission useful, the Win32 and X11 changes are
not tested but should work."

Changes to this made by Robert are call of resized in setWindowRectangle 
instead of setting of Traits, and use of a bool return type.
2007-06-10 19:53:18 +00:00
..
api From Stephan Huber and Robert Osfield, 2007-06-10 19:53:18 +00:00
CompositeViewer Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor 2007-06-06 10:57:02 +00:00
Export Updated version number, wrappers and readme for release 2007-05-28 10:17:52 +00:00
GraphicsWindow From Stephan Huber and Robert Osfield, 2007-06-10 19:53:18 +00:00
Scene Added camera event callback support into osgViewer 2007-05-27 17:29:29 +00:00
Version Moved SimpleViewer and GraphicsWindow into their own osgViewer library, updated simpleviewer examples to reflect this change 2006-11-02 12:27:15 +00:00
View Added View::home() method and updated wrappers 2007-06-07 09:58:49 +00:00
Viewer Added support for passing in ArgumentParser in Viewer and CompositeViewer constructor 2007-06-06 10:57:02 +00:00
ViewerEventHandlers Commented out the Scene Stats entry as its not implemented yet. 2007-06-07 20:26:29 +00:00