* GormCore/GormViewWindow.m: Change the color used for standalone

views.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@27688 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2009-01-25 14:39:37 +00:00
parent 1e20d5cf3d
commit 9791aa6c61
2 changed files with 7 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2009-01-25 09:47-EST Gregory John Casamento <greg_casamento@yahoo.com>
* GormCore/GormViewWindow.m: Change the color used for standalone
views.
2009-01-25 07:54-EST Gregory John Casamento <greg_casamento@yahoo.com>
* Palettes/0Menus/GormNSMenu.m: Fix memory leak.

View file

@ -142,10 +142,11 @@
NSString *objectName = [[(id<IB>)NSApp activeDocument] nameForObject: view];
NSString *title = [NSString stringWithFormat: @"View Window: (%@, %@)",
className, objectName];
NSColor *color = [NSColor lightGrayColor];
[self setTitle: title];
[self setFrame: NSMakeRect(0,0,400,300) display: YES];
[self setBackgroundColor: [NSColor darkGrayColor]];
[self setBackgroundColor: color];
[self setReleasedWhenClosed: NO];
[self setView: view];
}