mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 06:00:37 +00:00
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:
parent
0456c89f56
commit
d4d795bdb2
4 changed files with 11 additions and 34 deletions
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue