mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 10:10:48 +00:00
* Source/GSDragView.m (-init): Set the window background colour to clear.
* Headers/AppKit/NSAffineTransform.h, * Headers/AppKit/NSView.h, * Source/NSAffineTransform.m, * Source/NSPrintOperation.m, * Source/NSView.m: Use CGFlaot instead of float. * Tests/gui/NSView/NSView_bounds_scale.m: New test file that currently fails. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@33398 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
a22d96f145
commit
1a31d7e65a
8 changed files with 166 additions and 69 deletions
|
@ -913,7 +913,7 @@ scaleRect(NSRect rect, double scale)
|
|||
wlimit = [_view widthAdjustLimit];
|
||||
for (i = first; i <= last; i++)
|
||||
{
|
||||
float newVal, limitVal;
|
||||
CGFloat newVal, limitVal;
|
||||
pageRect = [self _rectForPage: i info: info xpage: &xpage ypage: &ypage];
|
||||
limitVal = NSMaxY(pageRect) - hlimit * NSHeight(pageRect);
|
||||
[_view adjustPageHeightNew: &newVal
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue