XcursorImage (Xcursor(3)) support 32bits argb value. May be NSCursor can use it. Is anyone working on this? Xcursor also support cursor animation, how about new api to support that?
I hadn't noticed these new interfaces up to your mail and they look rather promissing. But Keith Packard warns in the man page that the interface may still change. Perhaps we should wait until its setteled a bit more?
What looks interesting for GNUstep are the theming functions and XcursorImageLoadCursor(). We will need to build up our own XcursorImage data from NSImage, for this it would be great to have a method in GNUstep that generates an NSBitmapImageRep from any given NSImage that has non-planat, 8 bit per sample, ARGB format. Or if this is more natural for GNUstep at least in RGBA format, than one additional function could do the rearrangment of the bits.
Fred
_______________________________________________ Gnustep-dev mailing list Gnustep-dev@gnu.org http://lists.gnu.org/mailman/listinfo/gnustep-dev