mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:30:38 +00:00
Fixes to draw line borders correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4766 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
891b3f5f38
commit
579b55fee0
5 changed files with 14 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
|
||||
#include <Foundation/NSException.h>
|
||||
#include <AppKit/NSScroller.h>
|
||||
#include <AppKit/NSColor.h>
|
||||
#include <AppKit/NSClipView.h>
|
||||
#include <AppKit/NSScrollView.h>
|
||||
#include <AppKit/NSRulerView.h>
|
||||
|
@ -543,6 +544,7 @@ static Class rulerViewClass = nil;
|
|||
|
||||
case NSLineBorder:
|
||||
borderThickness = 1;
|
||||
[[NSColor controlDarkShadowColor] set];
|
||||
NSFrameRect(rect);
|
||||
break;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue