mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
* 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:
parent
1e20d5cf3d
commit
9791aa6c61
2 changed files with 7 additions and 1 deletions
|
@ -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.
|
||||
|
|
|
@ -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];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue