Datalink and connector improvements.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@20662 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
gcasa 2005-02-05 20:39:49 +00:00
parent 5a9c710034
commit d8aeb282ab
6 changed files with 93 additions and 89 deletions

View file

@ -776,19 +776,27 @@ NSDrawWindowBackground(NSRect aRect)
NSRectFill(aRect);
}
void
NSFrameLinkRect(NSRect aRect, BOOL isDestination)
{
// TODO
}
float
NSLinkFrameThickness(void)
{
// TODO
return 1.5;
}
void
NSFrameLinkRect(NSRect aRect, BOOL isDestination)
{
if (isDestination)
{
[[NSColor redColor] set];
}
else
{
[[NSColor greenColor] set];
}
NSFrameRectWithWidth(aRect, NSLinkFrameThickness());
}
void
NSConvertGlobalToWindowNumber(int globalNum, unsigned int *winNum)
{