Replaced _rFlags.flipped_view use with -isFlipped and deprecated

_rFlagsType.flipped_view.
Still needs some work to automatically invalidate coordinates when the 
flipping changes e.g. between two drawing sessions.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@31233 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Quentin Mathe 2010-09-03 08:21:52 +00:00
parent dda6652e85
commit a7ca2b775f
6 changed files with 38 additions and 40 deletions

View file

@ -956,7 +956,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
* Images are always drawn with their bottom-left corner at the origin
* so we must adjust the position to take account of a flipped view.
*/
if (_rFlags.flipped_view)
if ([self isFlipped])
{
dimpleOrigin.y += dimpleSize.height;
}