Use GSDrawingFunctions instead of Function.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@19483 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2004-06-07 23:54:25 +00:00
parent daa0b750c0
commit f962706ef0
11 changed files with 60 additions and 111 deletions

View file

@ -52,6 +52,7 @@
#include "AppKit/NSEvent.h"
#include "AppKit/NSWindow.h"
#include "AppKit/NSBezierPath.h"
#include "GNUstepGUI/GSDrawFunctions.h"
DEFINE_RINT_IF_MISSING
@ -192,7 +193,7 @@ static NSTextFieldCell *titleCell;
return;
}
NSDrawGrayBezel (cellFrame, NSZeroRect);
[GSDrawFunctions drawGrayBezel: cellFrame : NSZeroRect];
[self drawInteriorWithFrame: cellFrame inView: controlView];
}
@end
@ -2072,7 +2073,7 @@ static NSTextFieldCell *titleCell;
if ((NSIntersectsRect (scrollerBorderRect, rect) == YES) && _window)
{
NSDrawGrayBezel (scrollerBorderRect, rect);
[GSDrawFunctions drawGrayBezel: scrollerBorderRect : rect];
}
}
@ -2083,7 +2084,7 @@ static NSTextFieldCell *titleCell;
float hScrollerWidth = _hasHorizontalScroller ? scrollerWidth : 0;
// Columns borders
NSDrawGrayBezel (_bounds, rect);
[GSDrawFunctions drawGrayBezel: _bounds : rect];
[[NSColor blackColor] set];
visibleColumns = [self numberOfVisibleColumns];