mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 19:10:37 +00:00
Fixed multi-screen support on window frame restore
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@35241 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
35441d506c
commit
d888d2ec77
3 changed files with 87 additions and 17 deletions
|
@ -119,6 +119,7 @@ static NSMutableArray *screenArray = nil;
|
|||
[screenArray addObject: screen];
|
||||
RELEASE(screen);
|
||||
}
|
||||
NSLog(@"NSScreen:screens: %@", screenArray);
|
||||
|
||||
return [NSArray arrayWithArray: screenArray];
|
||||
}
|
||||
|
@ -258,6 +259,15 @@ static NSMutableArray *screenArray = nil;
|
|||
return _frame;
|
||||
}
|
||||
|
||||
- (NSString*)description
|
||||
{
|
||||
NSMutableString *description = [NSMutableString stringWithString:[super description]];
|
||||
[description appendFormat:@"number: %ld\n",(long)_screenNumber];
|
||||
[description appendFormat:@"frame: %@\n",NSStringFromRect(_frame)];
|
||||
return([[description copy] autorelease]);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* <p>
|
||||
* This method generates a dictionary containing information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue