/*
 * Info Panel support for Stopwatch app.
 *
 * For legal stuff see the file COPYRIGHT
 */
#import "InfoPanel.h"

#define	VERSION	"2.5"


@implementation InfoPanel

static id Info;

+ new
{
  if ( Info == nil ) {
    Info = [[InfoPanel alloc] init];
    [NXApp loadNibSection:"infoPanel.nib" owner:Info];
  }
  return Info;
}

- awakeFromNib
{
  [versionField setStringValue:VERSION];
  return self;
}

- showInfo
{
  [panel orderFront:nil];
  return self;
}

- showLegal:sender
{
  [legalPanel orderFront:nil];
  return self;
}

@end
