Printing impl.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14862 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 2002-10-29 02:48:16 +00:00
parent c7efda6fab
commit 3766e95ce1
4 changed files with 135 additions and 28 deletions

View file

@ -268,14 +268,18 @@ static NSMutableArray *screenArray = nil;
{
NSRect visFrame = _frame;
switch ([NSApp interfaceStyle])
switch (NSInterfaceStyleForKey(@"NSIntefaceStyle", nil))
{
case NSMacintoshInterfaceStyle:
// What is the size of the Mac menubar?
visFrame.size.height -= 25;
return visFrame;
case NSWindows95InterfaceStyle:
case GSWindowMakerInterfaceStyle:
case NSNextStepInterfaceStyle:
visFrame.size.width -= 64;
return visFrame;
case NSWindows95InterfaceStyle:
case NSNoInterfaceStyle:
default:
return _frame;