Minor tidying

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3435 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1998-12-12 10:03:44 +00:00
parent 0ee2f21566
commit 01ac1e8035
2 changed files with 39 additions and 33 deletions

View file

@ -643,12 +643,12 @@ PSMatrix* matrix;
changey = [super_view bounds].size.height - oldSize.height;
// adjust the X axis
fprintf (stderr, "NSView resizeWithOldSuperviewSize: \n");
fprintf (stderr, "Change x,y (%1.2f, %1.2f)\n", changex, changey);
fprintf (stderr,
"NSView: old origin (%1.2f, %1.2f), size (%1.2f, %1.2f)\n",
frame.origin.x, frame.origin.y,
frame.size.width, frame.size.height);
// fprintf (stderr, "NSView resizeWithOldSuperviewSize: \n");
// fprintf (stderr, "Change x,y (%1.2f, %1.2f)\n", changex, changey);
// fprintf (stderr,
// "NSView: old origin (%1.2f, %1.2f), size (%1.2f, %1.2f)\n",
// frame.origin.x, frame.origin.y,
// frame.size.width, frame.size.height);
if (changex)
{
@ -742,10 +742,10 @@ PSMatrix* matrix;
}
}
fprintf (stderr,
"NSView: new origin (%1.2f, %1.2f), size (%1.2f, %1.2f)\n",
frame.origin.x, frame.origin.y,
frame.size.width, frame.size.height);
// fprintf (stderr,
// "NSView: new origin (%1.2f, %1.2f), size (%1.2f, %1.2f)\n",
// frame.origin.x, frame.origin.y,
// frame.size.width, frame.size.height);
/* FIXME
* The lines containing 'floor()' ensure that the frame sizes are an integer