mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-20 19:16:30 +00:00
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:
parent
e8c1d1f693
commit
4f10989eb8
6 changed files with 26 additions and 25 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue