Define new cursor backend methods replacing -setcursorcolor:::. And use

these.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@32179 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fredkiefer 2011-02-15 22:54:23 +00:00
parent f2c7420e36
commit 003ea0982a
5 changed files with 46 additions and 10 deletions

View file

@ -553,20 +553,20 @@ static GSDragView *sharedDragView = nil;
}
}
[newCursor set];
if ((targetWindowRef != 0) && mask != NSDragOperationNone)
{
[GSCurrentServer() setcursorcolor: [NSColor greenColor]
[GSCurrentServer() recolorcursor: [NSColor greenColor]
: [NSColor blackColor]
: [newCursor _cid]];
}
else
{
[GSCurrentServer() setcursorcolor: [NSColor blackColor]
[GSCurrentServer() recolorcursor: [NSColor blackColor]
: [NSColor whiteColor]
: [newCursor _cid]];
}
[newCursor set];
}
- (void) _sendLocalEvent: (GSAppKitSubtype)subtype