mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 09:50:48 +00:00
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:
parent
c37d0518fd
commit
ce85a0cc0f
3 changed files with 18 additions and 10 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue