File: AboutBoxController.m

package info (click to toggle)
wcalc 2.4-1.1
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 1,916 kB
  • sloc: ansic: 7,089; objc: 2,002; sh: 890; lex: 816; yacc: 641; makefile: 103
file content (21 lines) | stat: -rw-r--r-- 370 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include "definitions.h"
#include "AboutBoxController.h"
#ifdef MEMWATCH
#include "memwatch.h"
#endif

@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