mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 00:20:51 +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
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue