Hi Hartwig,
Am 13.05.10 12:04, schrieb Hartwig Wiesmann:
> Any other ideas?

First of all, I have no experience with wxWidgets, but I had the same
problems with the cocoa-implementation, as I needed to embed osg into
another Cocoa-based application, so I had to disable the parts of
graphicswindowcocoa which deals with event handlers and
application-stuff (creating the menubar etc).

I solved this issue by adding some bools to the WindowData-class which
get queried when a graphics-context gets created. So I can disable
event-polling, request a NSView-only etc.

It should be straight-forward to implement the missing piece for
GraphicsWindowCarbon, add a new boolean to the windowData (i called it
poseAsStandaloneApp for Cocoa) and query
Traits::windowData::poseAsStandaloneApp when creating a context in
CarbonWindowingSystemInterface::createGraphicsContext()

Hope this helps,

cheers,
Stephan
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to