[osg-users] show mouse cursor in embedded osg

Robert Osfield robert.osfield at gmail.com
Thu Feb 28 10:02:37 PST 2019


On Thu, 28 Feb 2019 at 17:32, Sebastian Schmidt <herrdersuppen at gmail.com> wrote:
> How can i show the default osg mouse cursor in a embedded opengl context (GraphicsWindowEmbedded) ?
> i tried embeddedWindow->useCursor(true), but i didnt work.

GraphicsWindowEmbedded is essentially a non op facade that makes it
possible to use the osgViewer with application provided windowing, so
the OSG itself has no direct control over the windowing or graphics
context, it's entirely up to your application.  This means it's
entirely your responsibility to implement cursor management.

Robert.


More information about the osg-users mailing list