mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 13:20:47 +00:00
* Headers/AppKit/NSWindow.h: Comment out _attachedSheet ivar.
* Source/NSAlert.m: Change code to use hightlightWithLevel: method in resetWindow method. * Source/NSApplication.m: Stub out setAttachedSheet method. * Source/NSWindow.m: Remove new ivar for next release and stub out attachedSheet method. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28415 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
519598ef24
commit
3a16583dcb
5 changed files with 21 additions and 19 deletions
16
ChangeLog
16
ChangeLog
|
@ -1,3 +1,12 @@
|
|||
2009-07-27 12:18-EDT Gregory John Casamento <greg.casamento@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSWindow.h: Comment out _attachedSheet ivar.
|
||||
* Source/NSAlert.m: Change code to use hightlightWithLevel: method
|
||||
in resetWindow method.
|
||||
* Source/NSApplication.m: Stub out setAttachedSheet method.
|
||||
* Source/NSWindow.m: Remove new ivar for next release and stub out
|
||||
attachedSheet method.
|
||||
|
||||
2009-07-26 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Headers/AppKit/NSFontDescriptor.h,
|
||||
|
@ -2226,14 +2235,15 @@
|
|||
-frameRectForContentRect:styleMask): New instance methods.
|
||||
* Source/NSWindow.m: Use these new methods.
|
||||
|
||||
2008-10-19 Riccardo Mottola <rmottola@users.sf.net>>
|
||||
2008-10-19 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/GSServicesManager.m: dont unreigster non existent named port
|
||||
|
||||
2008-10-18 19:06-EDT Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSWindow.m: Remove code in stringWithSavedFrame which was causing a
|
||||
crash due to issues in NSToolbar described in bug#24601.
|
||||
* Source/NSWindow.m: Remove code in stringWithSavedFrame which
|
||||
was causing a crash due to issues in NSToolbar described
|
||||
in bug#24601.
|
||||
|
||||
2008-10-18 Riccardo Mottola <rmottola@users.sf.net>>
|
||||
|
||||
|
|
|
@ -203,7 +203,7 @@ APPKIT_EXPORT NSSize NSTokenSize;
|
|||
NSWindow *_parent;
|
||||
NSCachedImageRep *_cachedImage;
|
||||
NSPoint _cachedImageOrigin;
|
||||
NSWindow *_attachedSheet;
|
||||
// NSWindow *_attachedSheet;
|
||||
|
||||
struct GSWindowFlagsType {
|
||||
unsigned accepts_drag:1;
|
||||
|
|
|
@ -969,18 +969,9 @@ setControl(NSView* content, id control, NSString *title)
|
|||
|
||||
if((parent = [self parentWindow]) != nil)
|
||||
{
|
||||
NSColor *color = nil;
|
||||
float r, g, b, a;
|
||||
|
||||
[[[parent backgroundColor]
|
||||
colorUsingColorSpaceName: NSCalibratedRGBColorSpace]
|
||||
getRed: &r green: &g blue: &b alpha: &a];
|
||||
|
||||
color = [NSColor colorWithCalibratedRed: r + 0.05
|
||||
green: g + 0.05
|
||||
blue: b + 0.05
|
||||
alpha: a];
|
||||
[self setBackgroundColor: color];
|
||||
[self setBackgroundColor:
|
||||
[[parent backgroundColor]
|
||||
highlightWithLevel: 0.4]];
|
||||
}
|
||||
|
||||
[self setFrame: frame display: YES];
|
||||
|
|
|
@ -382,7 +382,7 @@ struct _NSModalSession {
|
|||
*/
|
||||
- (void) setAttachedSheet: (id) sheet
|
||||
{
|
||||
_attachedSheet = sheet;
|
||||
// _attachedSheet = sheet;
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
|
@ -986,7 +986,7 @@ many times.
|
|||
[super init];
|
||||
[self _initDefaults];
|
||||
|
||||
_attachedSheet = nil;
|
||||
// _attachedSheet = nil;
|
||||
_backingType = bufferingType;
|
||||
_styleMask = aStyle;
|
||||
if (aScreen == nil)
|
||||
|
@ -5102,7 +5102,8 @@ current key view.<br />
|
|||
|
||||
- (NSWindow *) attachedSheet
|
||||
{
|
||||
return _attachedSheet;
|
||||
// return _attachedSheet;
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Reference in a new issue