* Source/NSAlert.m: (-_initWithoutGModel): Disable dimming of

panel image. Change highlinting mask of alternate and other
  buttons.


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@24670 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Sergii Stoian 2007-02-21 00:38:44 +00:00
parent 5f887135f2
commit 83b4049ddf

View file

@ -359,6 +359,7 @@ setControl(NSView* content, id control, NSString *title)
[icoButton setEnabled: NO];
[[icoButton cell] setImageDimsWhenDisabled: NO];
[icoButton setImagePosition: NSImageOnly];
[[icoButton cell] setImageDimsWhenDisabled: NO];
image = [[NSApplication sharedApplication] applicationIconImage];
[icoButton setImage: image];
[content addSubview: icoButton];
@ -420,7 +421,9 @@ setControl(NSView* content, id control, NSString *title)
[defButton setAlternateImage: [NSImage imageNamed: @"common_retH"]];
altButton = [self _makeButtonWithRect: rect];
[altButton setHighlightsBy: NSPushInCellMask | NSChangeGrayCellMask];
othButton = [self _makeButtonWithRect: rect];
[othButton setHighlightsBy: NSPushInCellMask | NSChangeGrayCellMask];
rect.size.height = 80.0;
scroll = makeScrollViewWithRect(rect);