mirror of
https://github.com/gnustep/apps-gorm.git
synced 2025-04-22 22:20:44 +00:00
nib changes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/gorm/trunk@23074 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
1c824fd1aa
commit
6ce43e3549
4 changed files with 15 additions and 5 deletions
|
@ -1,3 +1,11 @@
|
|||
2006-06-17 10:54 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormCustomView.m: Return self in the conditional that
|
||||
reads the custom view.
|
||||
* GormCore/GormInternalViewEditor.m: Reset the current view size
|
||||
so that the window is properly displayed.
|
||||
* Palettes/1Windows/GormNSWindow.m: Send deferred as "NO" always.
|
||||
|
||||
2006-06-17 06:53 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* GormCore/GormNibWrapperLoader.m: Added code to clear changes
|
||||
|
|
|
@ -95,6 +95,7 @@
|
|||
[self setClassName: [customView className]];
|
||||
_autoresizingMask = [customView autoresizingMask];
|
||||
RELEASE(customView);
|
||||
return self;
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -139,6 +139,7 @@ static NSImage *horizontalImage;
|
|||
}
|
||||
else if ([[superview window] contentView] == _editedObject)
|
||||
{
|
||||
[self setFrame: [_editedObject frame]];
|
||||
[[superview window] setContentView: self];
|
||||
}
|
||||
else if ([superview isKindOfClass: [NSClipView class]])
|
||||
|
|
|
@ -67,10 +67,10 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
_gormStyleMask = aStyle;
|
||||
// _originalContentRect = contentRect;
|
||||
self = [super initWithContentRect: contentRect
|
||||
styleMask: defaultStyleMask
|
||||
backing: bufferingType
|
||||
defer: flag
|
||||
screen: aScreen];
|
||||
styleMask: defaultStyleMask
|
||||
backing: bufferingType
|
||||
defer: NO // always no, because this isn't recorded here...
|
||||
screen: aScreen];
|
||||
if(self != nil)
|
||||
{
|
||||
// Don't release when the window is closed, a window being edited may
|
||||
|
@ -81,7 +81,7 @@ static unsigned int defaultStyleMask = NSTitledWindowMask | NSClosableWindowMask
|
|||
[self setMiniwindowImage: nil];
|
||||
|
||||
// set the default position mask;
|
||||
autoPositionMask = GSWindowMaxXMargin | GSWindowMaxYMargin;
|
||||
autoPositionMask = GSWindowMaxXMargin | GSWindowMinYMargin;
|
||||
}
|
||||
|
||||
return self;
|
||||
|
|
Loading…
Reference in a new issue