#import <AppKit/NSView.h>
#import "InfoView.h"
#import "Info.h"

@implementation Info

- awakeFromNib
{
  [infoView addImageNamed:@"ovidiu"];
  return self;
}

- (void)showImageUsingTagOf:sender
{
  [infoView showImageNumber:[sender tag]];
}

- (void)show
{
  [infoView display];
  [[infoView window] center];
  [[infoView window] makeKeyAndOrderFront:self];
}

- window	{ return [infoView window]; }

@end
