Logo Search packages:      
Sourcecode: wcalc version File versions  Download package

AboutBoxController.m

#include "calculator.h"
#include "AboutBoxController.h"

@implementation AboutBoxController

- (IBAction)closeIt:(id)sender
{
      [aboutBox close];
}

- (IBAction)openIt:(id)sender
{
      [version setStringValue:[NSString stringWithFormat:@"Version %s",VERSION]];
      [aboutBox makeKeyAndOrderFront:self];
      [aboutBox center];
}

@end

Generated by  Doxygen 1.6.0   Back to index