Corrected affine transform struct element names and added some drawing functions.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18288 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Fred Kiefer 2003-12-30 12:42:37 +00:00
parent e8c1d1f693
commit 4f10989eb8
6 changed files with 26 additions and 25 deletions

View file

@ -40,7 +40,6 @@
#include "AppKit/NSApplication.h"
#include "AppKit/NSColor.h"
#include "AppKit/NSScrollView.h"
#include "AppKit/DPSOperators.h"
#include "AppKit/NSGraphics.h"
@interface NSTableView (GNUstepPrivate)
@ -238,12 +237,10 @@
{
NSGraphicsContext *ctxt = GSCurrentContext();
DPSsetgray(ctxt, NSBlack);
DPSrectfill(ctxt,_bounds.origin.x, _bounds.origin.y,
_bounds.size.width, 1.);
DPSrectfill(ctxt, NSMaxX(_bounds)-1., NSMinY(_bounds),
1., _bounds.size.height);
NSRectEdge up_sides[] = {NSMinYEdge, NSMaxXEdge};
float grays[] = {NSBlack, NSBlack};
NSDrawTiledRects(_bounds, aRect, up_sides, grays, 2);
}
}