mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 06:30:47 +00:00
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:
parent
bfd3711f70
commit
2e5ad2655d
11 changed files with 60 additions and 111 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue