mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-21 08:30:56 +00:00
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:
parent
898eff7291
commit
3f083e4415
3 changed files with 19 additions and 7 deletions
|
@ -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
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue