--- GSInfoPanel.m-original 2003-07-17 15:45:05.000000000 +0200 +++ GSInfoPanel.m 2003-07-17 15:58:24.000000000 +0200 @@ -29,6 +29,7 @@ #include "AppKit/NSButton.h" #include "AppKit/NSFont.h" #include "AppKit/NSImage.h" +#include "AppKit/NSImageView.h" #include "AppKit/NSTextField.h" #include "gnustep/gui/GSInfoPanel.h" #include @@ -503,6 +504,17 @@ */ cv = [self contentView]; + /* + * Add a background image to the info panel + * Nicolas Roard + */ + + NSImageView* backgroundImage = AUTORELEASE ([[NSImageView alloc] initWithFrame: NSMakeRect (0,0,width, height)]); + [backgroundImage setImageScaling: NSScaleProportionally]; + [backgroundImage setImage: [NSImage imageNamed: @"LogoGNUstep"]]; + [backgroundImage setImageAlignment: NSImageAlignCenter]; + [cv addSubview: backgroundImage]; + f = [iconButton frame]; f.origin.x = 16; f.origin.y = height - 18 - f.size.height;