mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 16:20:38 +00:00
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:
parent
5a9c710034
commit
d8aeb282ab
6 changed files with 93 additions and 89 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue