mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 20:10:37 +00:00
Small theme update, plus documentation fixes and tweaks to avoid warnings.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28538 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d82dad9351
commit
452ffee567
22 changed files with 235 additions and 158 deletions
|
@ -988,14 +988,15 @@ static BOOL flip_hack;
|
|||
[self setInContext: GSCurrentContext()];
|
||||
}
|
||||
|
||||
- (void) setInContext: (NSGraphicsContext*)ctxt
|
||||
- (void) setInContext: (NSGraphicsContext*)context
|
||||
{
|
||||
if (matrixExplicitlySet == NO && ([[NSView focusView] isFlipped] || flip_hack))
|
||||
[ctxt GSSetFont: [[self _flippedViewFont] fontRef]];
|
||||
if (matrixExplicitlySet == NO
|
||||
&& ([[NSView focusView] isFlipped] || flip_hack))
|
||||
[context GSSetFont: [[self _flippedViewFont] fontRef]];
|
||||
else
|
||||
[ctxt GSSetFont: [self fontRef]];
|
||||
[context GSSetFont: [self fontRef]];
|
||||
|
||||
[ctxt useFont: fontName];
|
||||
[context useFont: fontName];
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue