Hi Glenn,
On 1/17/07, Glenn Waldron <[EMAIL PROTECTED]> wrote:
I would like to propose that the GraphicsWindowWin32 implementation include
a capability analogous to
Producer::RenderSurface::setWindow(). This allows you to
embed the OSG rendering surface into a Windows UI by providing a
pre-existing HWND prior to realization.
In fact, I have found Producer::RenderSurface's getWindow() and getDisplay()
very handy. It would be nice to still have low-level access to these
handles.
If this capability is desirable across multiple implementations, perhaps it
is a candidate for addition to osgViewer at a higher level. -gw
It is my intention that would should be able to get all the windowing
specific handles from each of the GraphicsWindows implementation,
these handles won't be cross platform though, and intentionally not.
A Win32 window handle is not the same as what you'll find under X11
etc. These are all windowing specific handles and need to stay that
way.
Adding setWindow as well as getWindow is a bit more problematic as
this requires more intrusive changes to the way the the GraphicsWindow
implementation is managed internally - i.e it shouldn't create its own
windows, and it should deleted them afterwards.
Robert.
_______________________________________________
osg-users mailing list
osg-users@openscenegraph.net
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/