mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 15:11:37 +00:00
* 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:
parent
5f887135f2
commit
83b4049ddf
1 changed files with 3 additions and 0 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue