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:
FredKiefer 2004-06-07 23:54:25 +00:00
parent bfd3711f70
commit 2e5ad2655d
11 changed files with 60 additions and 111 deletions

View file

@ -37,6 +37,7 @@
#include "AppKit/NSGraphics.h"
#include "AppKit/NSPasteboard.h"
#include "AppKit/NSWindow.h"
#include "GNUstepGUI/GSDrawFunctions.h"
#include <Foundation/NSDebug.h>
#include <Foundation/NSNotification.h>
@ -163,7 +164,7 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
/*
* Draw border.
*/
NSDrawButton(aRect, clipRect);
[GSDrawFunctions drawButton: aRect : clipRect];
/*
* Fill in control color.
@ -200,7 +201,7 @@ static NSString *GSColorWellDidBecomeExclusiveNotification =
/*
* Draw inner frame.
*/
NSDrawGrayBezel(aRect, clipRect);
[GSDrawFunctions drawGrayBezel: aRect : clipRect];
aRect = NSInsetRect(aRect, 2.0, 2.0);
}