gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSCursor to use XcursorImage


From: Fred Kiefer
Subject: Re: NSCursor to use XcursorImage
Date: Sat, 09 Apr 2005 12:26:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.2) Gecko/20040906

Banlu Kemiyatorn wrote:
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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]