flip and audio fixes

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14623 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Adam Fedor 2002-10-02 03:34:54 +00:00
parent 898eff7291
commit 3f083e4415
3 changed files with 19 additions and 7 deletions

View file

@ -269,7 +269,8 @@ static NSFont *_leafFont;
*/
if ([controlView isFlipped])
image_rect.origin.y += image_rect.size.height;
[image compositeToPoint: image_rect.origin operation: NSCompositeCopy];
[image compositeToPoint: image_rect.origin
operation: NSCompositeSourceOver];
title_rect.size.width -= image_rect.size.width + 8;
}
@ -293,7 +294,7 @@ static NSFont *_leafFont;
if ([controlView isFlipped])
position.y += size.height;
[_alternateImage compositeToPoint: position
operation: NSCompositeCopy];
operation: NSCompositeSourceOver];
}
else
{