Change the way the image for the cursor gets passed on to the backend.

The old way could only work for 8 bit data.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32491 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2011-03-07 19:45:04 +00:00
parent 0456c89f56
commit d4d795bdb2
4 changed files with 11 additions and 34 deletions

View file

@ -891,8 +891,7 @@ GSCurrentServer(void)
/** Create a cursor from an image. Returns a pointer to the internal
device representation that can be used later to make this cursor
the current one */
- (void) imagecursor: (NSPoint)hotp : (int)w : (int)h : (int) colors
: (const unsigned char *) image : (void**) cid
- (void) imagecursor: (NSPoint)hotp : (NSImage *) image : (void**) cid
{
[self subclassResponsibility: _cmd];
}