There's a commented out method declaration in osgViewer::GraphicsWindow to support setting a custom cursor from an osg::Image.
It so happens I really need this functionality - if I was to provide a Cocoa implementation, are there people here would might supply corresponding Windows and Linux versions? Subject to whatever limitations on size/depth each platform imposes. I have not verified, but I suspect the current (comment out) method parameters might be a little narrow; typically cursors require a hot-spot location (X/Y) and mask bitmap in addition to the real image, although the mask can be expressed via the alpha-channel of course. I've looked at the corresponding code in Qt 4.8, and at least the Windows implementation is doable, if a little verbose - some working with HBITMAPS and a Win32 call to create the HCURSOR. X11 I am totally clueless about, I know there's different technologies over time (XCursor?) but I've no ideas what is current practice or likely to work in the real world on modern distros. Regards, James _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

