Two more classes now have relavtive colour drawing.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18576 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2004-02-11 00:01:20 +00:00
parent c37d0518fd
commit ce85a0cc0f
3 changed files with 18 additions and 10 deletions

View file

@ -31,6 +31,7 @@
#include "AppKit/NSGraphics.h"
#include "AppKit/NSImageCell.h"
#include "AppKit/NSImage.h"
#include "GNUstepGUI/GSDrawFunctions.h"
@implementation NSImageCell
@ -133,16 +134,16 @@
// nada
break;
case NSImageFramePhoto:
NSDrawFramePhoto(cellFrame, NSZeroRect);
[GSDrawFunctions drawFramePhoto: cellFrame : NSZeroRect];
break;
case NSImageFrameGrayBezel:
NSDrawGrayBezel(cellFrame, NSZeroRect);
[GSDrawFunctions drawGrayBezel: cellFrame : NSZeroRect];
break;
case NSImageFrameGroove:
NSDrawGroove(cellFrame, NSZeroRect);
[GSDrawFunctions drawGroove: cellFrame : NSZeroRect];
break;
case NSImageFrameButton:
NSDrawButton(cellFrame, NSZeroRect);
[GSDrawFunctions drawButton: cellFrame : NSZeroRect];
break;
}