mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 22:55:22 +00:00
Some more optimisation
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4235 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0644a7dfeb
commit
0c507ab2d0
8 changed files with 59 additions and 22 deletions
|
@ -506,7 +506,7 @@ static Class rulerViewClass = nil;
|
|||
|
||||
- (void) drawRect: (NSRect)rect
|
||||
{
|
||||
NSGraphicsContext *ctxt = [NSGraphicsContext currentContext];
|
||||
NSGraphicsContext *ctxt = GSCurrentContext();
|
||||
float scrollerWidth = [NSScroller scrollerWidth];
|
||||
float horizLinePosition, horizLineLength = [self bounds].size.width;
|
||||
float borderThickness = 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue